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.
Tool/software: Code Composer Studio
I have no issue when building projects with the TI compiler:
CSS
Target: TMS570LC43xx
Compiler version: TI v18.1.5.LTS
HALCoGen
Tools: Texas Instruments Tools
Family: TMS570LC43x
Device: TMS570LC4357ZWT
However when I switch to the GNU compiler, I have the following errors:
../source/HL_sys_core.s:98: Error: selected processor does not support `fmxr fpexc,r2' in ARM mode
../source/HL_sys_core.s:100: Error: selected processor does not support `fmdrr d0,r1,r1' in ARM mode
../source/HL_sys_core.s:101: Error: selected processor does not support `fmdrr d1,r1,r1' in ARM mode
../source/HL_sys_core.s:102: Error: selected processor does not support `fmdrr d2,r1,r1' in ARM mode
../source/HL_sys_core.s:103: Error: selected processor does not support `fmdrr d3,r1,r1' in ARM mode
...
Here is my GNU project setup:
CSS
Target: TMS570LC43xx
Compiler version: GNU v7.2.1 (Linaro)
HALCoGen
Tools: GCC Tools
Family: TMS570LC43x
Device: TMS570LC4357ZWT
Thank you Miro. The option "-mfpu=vfpv3-d16" solves the compilation errors.
Could you provide me all the proper gcc options for this board, TMDX570LC43HDK.
From my gcc project, here are the options being used:
-c -mfpu=vfpv3-d16 -Og -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -MMD -MP ...
Hello,
Default options are fine. Just add -mfpu=vfpv3-d16 .
Best regards,
Miro