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/CC2650: Reset ISR issue in code composer studio 6.1.3 unable to build one of CMSIS example.

Part Number: CC2650

Tool/software: Code Composer Studio

Hi,

    I am trying to port FFT functions to Sensortag and hence i used CMSIS library and built static library using  following link: www.ti.com/.../spma041g.pdf

 After this i am trying to work with one of the example and getting build issues as follows:


**** Build of configuration Debug for project CortexM3_ex ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/CMSIS_5-develop/CMSIS/DSP/Examples/ARM/arm_matrix_example/arm_matrix_example_f32.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/CMSIS_5-develop/CMSIS/Core/Include" --include_path="C:/ti/CMSIS_5-develop/CMSIS/DSP/Include" -g --define=_INLINE --define=ARM_MATH_CM3 --define=__FPU_PRESENT=1 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="arm_matrix_example_f32.d" "C:/ti/CMSIS_5-develop/CMSIS/DSP/Examples/ARM/arm_matrix_example/arm_matrix_example_f32.c"
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/linkage.h", line 56: warning #48-D: incompatible redefinition of macro "__INLINE" (declared at line 119 of "C:\ti\CMSIS_5-develop\CMSIS\Core\Include\cmsis_compiler.h")
'Finished building: C:/ti/CMSIS_5-develop/CMSIS/DSP/Examples/ARM/arm_matrix_example/arm_matrix_example_f32.c'
' '
'Building file: C:/ti/CMSIS_5-develop/CMSIS/DSP/Examples/ARM/arm_matrix_example/math_helper.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/CMSIS_5-develop/CMSIS/Core/Include" --include_path="C:/ti/CMSIS_5-develop/CMSIS/DSP/Include" -g --define=_INLINE --define=ARM_MATH_CM3 --define=__FPU_PRESENT=1 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="math_helper.d" "C:/ti/CMSIS_5-develop/CMSIS/DSP/Examples/ARM/arm_matrix_example/math_helper.c"
'Finished building: C:/ti/CMSIS_5-develop/CMSIS/DSP/Examples/ARM/arm_matrix_example/math_helper.c'
' '
'Building target: CortexM3_ex.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 -g --define=_INLINE --define=ARM_MATH_CM3 --define=__FPU_PRESENT=1 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual -z -m"CortexM3_ex.map" --heap_size=0 --stack_size=256 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --reread_libs --display_error_number --diag_wrap=off --warn_sections --xml_link_info="CortexM3_ex_linkInfo.xml" --rom_model -o "CortexM3_ex.out" "./arm_matrix_example_f32.obj" "./math_helper.obj" "../cc26x0f128.cmd" -llibc.a -l"E:/cc2650_sensortag/fft/Debug/fft.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; "CortexM3_ex.out" not built

>> Compilation failure
makefile:142: recipe for target 'CortexM3_ex.out' failed
gmake: *** [CortexM3_ex.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Any idea on how i can correct this ?

http://www.ti.com/lit/an/spma041g/spma041g.pdf

  • Vinay,

    It appears that you have started by creating a new project in CCS for CC2650 and adding the files required to build CMSIS library. This is actually not the intended process for CC2650 devices. Instead it is recommended to use one of the CC2650 BLE Stack SDK examples as a starting point. Please see this post for further details. Note that the CC26xxWare referenced in that post is no longer available as a separate package, it is now bundled with TI-RTOS for CC13xx/CC26xx (available for download from here).

  • Thanks AartiG.

    I solved this by adding startup_ccs.c , which has interrupt vectors and their respective functions and most importantly  CCS c intialization _c_int00.
    So my example works without TI-RTOS . Only problem of this is it will not handle faults as opposed to RTOS. Since my purpose was to check FFT functions of CMSIS library , it served the purpose.