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.

RTOS/SIMPLELINK-CC2640R2-SDK: simple_peripheral example project generates compilation error with CC2640R2DK_5XD

Part Number: SIMPLELINK-CC2640R2-SDK


Tool/software: TI-RTOS

Hi Team,

I have installed "SimpleLink CC2640R2 SDK 2.20.00.49" and "CCS_8.1.0" as the development environment.

The "simple_peripheral" example available inside "simplelink_cc2640r2_sdk_2_20_00_49\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral" compiles without any issues.

As i need the support for "CC2640R2DK_5XD", I replaced the predefined symbol "CC2640R2_LAUNCHXL" with "CC2640R2DK_5XD" in the project properties(Build -> ARM Compiler -> Predefined Symbols). With this change, the compilation fails and below I have given the compilation error.

Note: The same change works with previous SDK versions.

Compilation log:

Description Resource Path Location Type
#20 identifier "RFCC26XX_HWAttrs" is undefined .ccsproject /simple_peripheral_cc2640r2lp_app line 314, external location: C:\Arul\Softwares\SimpleLinkSDK_Downloaded\Installed\simplelink_cc2640r2_sdk_2_20_00_49\source\ti\blestack\boards\CC2640R2DK_5XD\CC2640R2DK_5XD.c C/C++ Problem
gmake: *** [Startup/board.obj] Error 1 simple_peripheral_cc2640r2lp_app    C/C++ Problem
gmake: Target 'all' not remade because of errors. simple_peripheral_cc2640r2lp_app    C/C++ Problem
#1-D last line of file ends without a newline .ccsproject /simple_peripheral_cc2640r2lp_app line 139, external location: C:\Arul\Softwares\SimpleLinkSDK_Downloaded\Installed\simplelink_cc2640r2_sdk_2_20_00_49\source\ti\blestack\boards\CC2640R2DK_5XD\Board.h C/C++ Problem
#1-D last line of file ends without a newline .ccsproject /simple_peripheral_cc2640r2lp_app line 298, external location: C:\Arul\Softwares\SimpleLinkSDK_Downloaded\Installed\simplelink_cc2640r2_sdk_2_20_00_49\source\ti\blestack\boards\CC2640R2DK_5XD\CC2640R2DK_5XD.h C/C++ Problem
#1-D last line of file ends without a newline .ccsproject /simple_peripheral_cc2640r2lp_app line 477, external location: C:\Arul\Softwares\SimpleLinkSDK_Downloaded\Installed\simplelink_cc2640r2_sdk_2_20_00_49\source\ti\blestack\boards\CC2640R2DK_5XD\CC2640R2DK_5XD.c C/C++ Problem

Thanks,

Arul Christopher

  • Hey Arul,

    Thank you for bringing this to our attention. I have been able to reproduce the issue. This issue was fixed in our new SDK release (version 2_30).

    Please try that, and post below with any follow up questions you may have.