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.

Compiler/CC1350: Compiler/

Part Number: CC1350


Tool/software: TI C/C++ Compiler

Hello,

I'm having issues with the CC1350_LAUNCHXL.c code in a project I'm working on where I'm getting "error #20: identifier is undefined" errors for "DisplaySharp_HWAttrs" and "RFCC26XX_HWAttrs". In other launch codes from TI examples it says "DisplaySharp_HWAttrsV1" and "RFCC26XX_HWAttrsV2" but when I tried changing the code in my project to have the V1 and V2 it gave me different error message.

The only thing I can think of that might be causing this error is that I removed and then re-added a dependency to try to fix another issue that I was having.

Carrie

  • This is the entire error message that I'm getting

    >> Compilation failure
    subdir_rules.mk:7: recipe for target 'CC1350_LAUNCHXL.obj' failed
    "../CC1350_LAUNCHXL.c", line 277: error #20: identifier "DisplaySharp_HWAttrs" is undefined
    "../CC1350_LAUNCHXL.c", line 621: error #20: identifier "RFCC26XX_HWAttrs" is undefined
    2 errors detected in the compilation of "../CC1350_LAUNCHXL.c".
    gmake: *** [CC1350_LAUNCHXL.obj] Error 1
    gmake: Target 'all' not remade because of errors.
  • Hello Caroline,
    This problem happens when the new definitions in the later version of SDK. When trying to use older files on newer SDK these definitions end up in a error. Please use the board files from the latest SDK in your project to fix these errors.
    Regards,
    Prashanth
  • Hi Prashanth,

    Thank you!

    I ended up creating a new workspace with the correct SDK version which solved the issues I was having with different dependencies and not having everything in the same version.

    Carrie