CC1311R3: Symbol 'NULL' could not be resolved and other CCS linker Fu*** ups

Part Number: CC1311R3
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi everyone, 

I have a bit of a problem with the CCS compiler/linker/indexer or whateever. 

Basically at random points in time the CCS project decides it doesn't wnat to work anymore and I get errors lile:

Symbol 'NULL' could not be resolved

And yes, this is happening in projects that were previously working fine and then one day to another I'm getting all kind of linker errors. It'starts with NULL not being recognized and then whenever I open another file all kinds of other #defines etc are not being recognized, sometimes it "solves itself" sometimes I have to setup the entire project from scratch... Oh an yeah this only happens on "opened" files. It only throws an error on 'NULL' for files i have opened in the CCS, but once it found one of those, it wont go away. 

I just did a clean install of CCS (12.8.1.) and the SimpleLink SDK 8.30.1.01, sysconfig 1.21 and compiler GCC 9.2.1 LFS and so on. 

Grretings Max

  • Hi Max,

    could you please confirm for me:

    • You did a clean install of CCS (12.8.1.) and the SimpleLink SDK 8.30.1.01, sysconfig 1.21 and compiler GCC 9.2.1 LFS.
    • You import example projects from this SDK
    • You get Linker errors 

    Could you please right-click on the project name -> select Properties -> General -> Products and double click on the SDK version. Next please click on Preferences as shown below:

    Next the window below should open:



    Please check that only the path to the correct installation directories to your SDK, CCS, compiler and SysConfig are added. Then click refresh below and check that the version that you expect show up.
    Next you need to apply these changes.

    If you have multiple SDK versions installed please use the first window  to switch between them according to from where the project was imported.

    With this we can ensure that the compiler uses the correct library files that are linked from the SDK.

    Please let me know if this is all set correct.

    Kind regards,
    Theo 

  • Hi Max,

    could you resolve the issues?

    Kind regards,
    Theo