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 ?
