ARM-software / CMSIS_5

CMSIS Version 5 Development Repository
http://arm-software.github.io/CMSIS_5/index.html
Apache License 2.0
1.31k stars 1.08k forks source link

No library for CM4 without FPU #506

Closed danny4478 closed 5 years ago

danny4478 commented 5 years ago

I got this when building TF-M for CM4: _"arm-none-eabi/bin/ld: error: ../TFM/CMSIS_5/CMSIS/RTOS2/RTX/Library/GCC/libRTX_CM4F.a(rtx_system.o) uses VFP register arguments, tfmns.axf does not"

I assume the F stands for FPU, but there is no .a file for CM4 without an FPU under CMSIS/RTOS2/RTX/Library [GCC/ARMCLANG].

When I use /libRTX_CM3.a the build is successful (but I need CM4).

jkrech commented 5 years ago

Due to instruction set compatibility using the CM3 library for Cortex-M4 based devices without FPU is the right thing to do.

danny4478 commented 5 years ago

Great. Thanks!