This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Migrating from CCS v4 to CCS v5



Previous configurations is:

CCS v5 version is 4.2.1.00004

Compiler for C2000 is TI v5.2.3
                             After migrating new configurations is:

Processor 28335

CCS v5 version is 5.1.0.09000

Compiler for C2000 is TI v6.0.2

I have my own program which I can compile under the CCS v4. When I compile my code under the CCS v4 everything is fine. Works well, no errors, no warnings.

When I try to compile same code under CCSv5 I have got many errors, hundreds of them and many warning.

Some of them:

errors:

variable "xxxxx" is not a type name

Type 'xxxxx' could not be resolved

this declaration has no storage class or type specifier

warnings:

Unused declaration of variable 'xxxxx'
error processing pragma DATA_SECTION, verify format
error processing pragma CODE_SECTION, verify format

All of them happends many times and it's not all of them.

In my program I have added C28x_FPU_fastRTS library and FFT library. There are also code mixed in C and C++ and all C files are treated as C++ files.

There is only one program in workspace.

I have tried examples from TI but they doesn't work either.

Where is the point of problem and what to do to get it work?

  • Hi Piotr,

    How have you been bringing your projects into v5?  Have you been using the import utility?  With which options? 

    Have you checked your include paths and any fixed paths that might be pointing to the old project location?  (should this have moved during the import/upgrade)

    Please keep us informed.

    Best Regards,
    LIsa

  • I have opened ccs v5 and switch workspace to old one (in ccsv4). I haven't used any import utility. I assume that all paths are correct, cause I use same workspace, which I can compile under ccsv4.

  • Hi Piotr,

    The correct way is to import the project.  Please try importing the project into a CCSv5 workspace and keep us informed whether that works for you.

    Best Regards,
    Lisa

  • Hello,

    Importing works fine. When I import ccs project, there is no errors in compilation. Unfortunetely it's not sattisfy for us. We probably have at least few hundreds or thousands of workspace's with one project attach to it. It's really annoying and expensing for us, to delete all of projects and import it again in all this workspace's. We would rather just to open workspaces. Is there any other option to do that?

  • Hi Piotr,

    unfortunately there are not so many options, no.   The base reason being CCSv4 was a modified version of eclipse and CCv5 is based on "Stock" eclipse.  This means that various things have subtle differences.  For example, this is one reason there is no longer an "Active" project in CCSv5, but rather, like eclipse a selected project.

    Sorry for the inconvenience.  You just need to import the projects once, the first time you wish to work on them in v5.

    All the best with it.

    Best Regards,
    Lisa