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/SIMPLELINK-CC13X0-SDK: Sensor example with Sharp LCD not working

Part Number: SIMPLELINK-CC13X0-SDK
Other Parts Discussed in Thread: CC1310

Tool/software: Code Composer Studio

Hi,

I define BOARD_DISPLAY_USE_LCD=1 (tried without =1 also) in the Predefined Symbols and exclude the UART define like this: xBOARD_DISPLAY_USE_UART.

Version: simplelink_cc13x0_sdk_2_20_00_38

Compiler version: TI v18.1.3LTS (Did also try v18.1.2LTS)

XDCTools: 3.50.07.20.core

The first time I built it with LCD I did a clean build (if this invoked the issue somehow).

The problem is below (It seems that the option "--silicon_version=7M4" is 'hardcoded' somewhere in the library files - cc1310 is a cortex M3 not M4 after all).

I also had a look at the file: sensor_cc1310lp_linkInfo.xml. strcmp.c is one of the files which gives the error below. Here is a snippet of the link info file. It seems it is using 7M3 (rtsv7M3_T_le_eabi.lib), so I have no clue...

<input_file id="fl-15f">
<path>C:\ti\ccsv8\tools\compiler\ti-cgt-arm_18.1.3.LTS\lib\</path>
<kind>archive</kind>
<file>rtsv7M3_T_le_eabi.lib</file>
<name>strcmp.c.obj</name>
</input_file>

<Linking>
error: option --silicon_version=7M4 is set in "stkdepth_vars.c", and is
   incompatible with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "cpy_tbl.c", and is incompatible
   with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "copy_zero_init.c", and is
   incompatible with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "copy_decompress_none.c", and is
 
   incompatible with the previously seen option --silicon_version=7M3
>> Compilation failure
 
>> Compilation failure
 
>> Compilation failure
makefile:217: recipe for target 'sensor_cc1310lp.out' failed
error: option --silicon_version=7M4 is set in "copy_decompress_lzss.c", and is
   incompatible with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "_lock.c", and is incompatible
   with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "ltoa.c", and is incompatible
   with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "memcmp.c", and is incompatible
   with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "strcat.c", and is incompatible
   with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "strcmp.c", and is incompatible
   with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "strcpy.c", and is incompatible
   with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "strlen.c", and is incompatible
   with the previously seen option --silicon_version=7M3
error: option --silicon_version=7M4 is set in "strpbrk.c", and is incompatible
   with the previously seen option --silicon_version=7M3
fatal error #10192: Failed linktime optimization
gmake[1]: *** [sensor_cc1310lp.out] Error 1
gmake: *** [all] Error 2
makefile:213: recipe for target 'all' failed

**** Build Finished ****