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/CC2640: for error

Part Number: CC2640


Tool/software: Code Composer Studio

Hi All

I build a simple project for cc2640 in ccsv7 with ti arm compiler ti v2.6.8.

i get below error.

i attached that error log and project also.

please share me solution as soon as possible

warms

nitin kanani

**** Build of configuration Debug for project sample ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 2 all -O 
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/arm_5.2.8/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me --include_path="C:/ti/ccsv7/tools/compiler/arm_5.2.8/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06" -g --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.d"  "../main.c"
'Finished building: ../main.c'
' '
'Building target: sample.out'
'Invoking: ARM Linker'
"C:/ti/ccsv7/tools/compiler/arm_5.2.8/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -g --display_error_number --diag_warning=225 --diag_wrap=off -z -m"sample.map" --stack_size=256 --heap_size=0 -i"C:/ti/ccsv7/tools/compiler/arm_5.2.8/lib" -i"C:/ti/ccsv7/tools/compiler/arm_5.2.8/include" --reread_libs --warn_sections --diag_wrap=off --display_error_number --xml_link_info="sample_linkInfo.xml" --rom_model -o "sample.out" "./main.obj" "../cc26x0f128.cmd"  -llibc.a -l"C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc26xxware_2_24_03_17272/driverlib/bin/ccs/driverlib.lib" 
<Linking>

 undefined first referenced
  symbol       in file     
 --------- ----------------
 ResetISR                  

error #10234-D: unresolved symbols remain
warning #10062-D: entry-point symbol "ResetISR" undefined
error #10010: errors encountered during linking; "sample.out" not built
gmake[1]: *** [sample.out] Error 1

>> Compilation failure
makefile:142: recipe for target 'sample.out' failed
makefile:138: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****
sample.zip

  • Nitin,

    I didn't see the error log in the attachment.  I imported the project from the zip and when I build it I get an error regarding being unable to find a TI-RTOS.  I worked through that and some issues with absolute paths in include options.  I end up getting an error regarding ResetISR.  Is that the error you are getting?

    There is some startup code required for CC26xx devices.

    If you are using CC2640R2 the BLE team recommends starting with the SimpleLink SDK for CC2640R2.  If you are using CC2640 then the recommendation is to start with the BLE stack examples as those examples will have the startup code present.

    http://www.ti.com/tool/ble-stack

    For help with using those examples the team in the BLE forum will be able to assist you.

    https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/

    Regards,

    John