`cortex-m4.cmake` assumes hardware floating point
alexisvl opened this issue · comments
alexis commented
This line in cortex-m4.cmake
assumes the device has a hardware FPU:
set(VFP_FLAGS "-mfloat-abi=hard -mfpu=fpv4-sp-d16")
This is only the case for Cortex-M4F. Non-"F" Cortex-M4 should be built with the same VFP_FLAGS as Cortex-M3 (i.e. empty string).
Grzegorz Kostka commented
You are correct. I will fix it in a free moment. Thanks:)
Grzegorz Kostka commented
Fixed here: 2a4f69f