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.

CCS: CC1310DK_7XD.c errors on compile.

Other Parts Discussed in Thread: CC1310

Tool/software: Code Composer Studio

Hi,

I am having an issue when trying to compile my code in CCS. I am using a CC1310 and the compiler throws the following errors each time I try to compile. These are sourced from a source file labeled: sdk_files__do_not_edit.

Errors:

#137 struct "WatchdogCC26XX_HWAttrs" has no field "intNum"    CC1310DK_7XD.c    /ADC_DIO29/sdk_files__do_not_edit    line 650    C/C++ Problem

#20 identifier "BIOS_WAIT_FOREVER" is undefined    CC1310DK_7XD.c    /ADC_DIO29/sdk_files__do_not_edit    line 393    C/C++ Problem


#20 identifier "Semaphore_Struct" is undefined    .ccsproject    /ADC_DIO29    line 57, external location: C:\ti\tirtos_cc13xx_cc26xx_2_21_00_06\products\tidrivers_cc13xx_cc26xx_2_21_00_04\packages\ti\mw\display\DisplayDogm1286.h    C/C++ Problem

Any help in solving this would be greatly appreciated. The code compiles fine on other computers, just not mine.

  • Brian,

    I suspect the source file CC1310DK_7XD.c may be missing some required #include statements for header files.

    How was this project created? Did you start with one of the examples from the CC13x0 SDK and build upon it? Is it the exact same project that builds fine on other computers?

    If it is not a very large project, could you zip it up and attach it here? That way we can reproduce the error and take a closer look at what is triggering it.

  • This issue was worked offline. The build errors were resolved after ensuring that the version of SDK, XDCTools and TI-RTOS used for the build matched up with the versions that were originally used to create the project.