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.

CODECOMPOSER: I’m facing an unusual issue in Code Composer Studio (C2000).

Part Number: CODECOMPOSER

I manually created a folder structure inside my project and added all the required include paths under:

Project Properties → Build → C2000 Compiler → Include Options

However, only some files compile correctly.
In main.c and a few other files, the compiler does not pick up the include paths, even though the same headers work fine in other source files.

  • Hello,

    Apologies for the delay due to the US holiday, this thread has been assigned to the correct expert.

    Best,
    Matt

  • Hi Vignesh,

    Thank you for your question. Here are some things to check: -

    1. Make sure that you are setting the include paths for the correct build configuration i.ie your active build configuration (for example RAM build vs FLASH build, this can be found under right click - > Build Configurations)

    2. If the above is verified can you please share the following 2 things:-

    a. the compiler command line that shows up when a working .c file gets compiled. This can be found in the "output window" of CCS. It will look something like this.

    [37]Invoking: C2000 Compiler
    [38]"C:/ti/ccs2030/ccs/tools/compiler/ti-cgt-c2000_22.6.2.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --tmu_support=tmu1 --vcu_support=vcrc -Ooff --include_path="C:/Users..."

    b. Similar compiler command line for the main.c (or any file which is unable to compile)

    Thanks,

    Ira