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/TIDC-CC2650STK-SENSORTAG: sensortag_cc2650stk_app: cannot compile - BLE-STACK 2.02.05.02

Part Number: TIDC-CC2650STK-SENSORTAG
Other Parts Discussed in Thread: CC2650STK, BLE-STACK

Tool/software: Code Composer Studio

Simple Goal: We wish to compile Out-of-Box example for CC2650STK SensorTag, for purposes of displaying interface with iOS app.

Fresh install of CCS 10.1 on Windows 10

BLE-STACK 2.02.05.02

Some snippets from build log:

...
Build of libraries done.
clem3 package/cfg/app_ble_pem3.c ...
"package/cfg/app_ble_pem3.c", line 8290: warning #112-D: statement is unreachable
"package/cfg/app_ble_pem3.c", line 8808: warning #112-D: statement is unreachable
"package/cfg/app_ble_pem3.c", line 8988: warning #112-D: statement is unreachable
...
warning #10229-D: output section ".data" refers to load symbol "user0Cfg" and hence cannot be compressed; compression "lzss" is ignored
 
 undefined first referenced
  symbol       in file 
 --------- ----------------
 user0Cfg  <whole-program>
 
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "sensortag_cc2650stk_app.out" not built
 
>> Compilation failure
makefile:229: recipe for target 'sensortag_cc2650stk_app.out' failed
gmake[1]: *** [sensortag_cc2650stk_app.out] Error 1
makefile:225: recipe for target 'all' failed
gmake: *** [all] Error 2

Other warnings include:
#10229-D output section ".data" refers to load symbol "user0Cfg" and hence cannot be compressed; compression "lzss" is ignored  

This project was created using a version of compiler that is not currently installed - 16.9.4.LTS [ARM]. -- which I cannot readily find in Software Updates area... (my suspicion is that this is the least of the problems.)

(The sensortag...stack project builds AOK.)

(compile log attached)

  • Do you use CCS Version: 10.1.1.00004? I use this version and BLE-STACK 2.02.05.02 to build sensortag project without problem.

  • Hi Lou,

    I attempted to recreate your issue by building both the sensortag stack and app projects. Although I did not receive the same errors, I did receive the warning you stated about the ARM compiler version being incorrect. After installing the version required, the warnings were resolved and both projects built successfully without any errors.

    Please find version 16.9.4.LTS [ARM] at the following link: https://www.ti.com/tool/download/ARM-CGT-16/16.9.4.LTS

    After downloading, ensure that CCS has discovered the version you just installed by navigating to Window -> Preferences -> Code Composer Studio -> Build -> Compilers -> Discovered Tools. Also ensure that the project is using the correct compiler version by navigating to the specific project's Properties -> General.

    Best Regards,

    Jenny