I have been having this problem for the last few days and I can\'t get my head around what is really happening here, or what is the problem.
I have a makefile with t
I encountered the issue using Atollic for ARM on STM32F4 (I guess it applies to all STM32 with FPU).
Using SW floating point didn't worked well for me (thus compiling correctly).
When STM32cubeMX generates code for TrueStudio (Atollic), it doesn't set an FPU unit in C/C++ build settings (not sure about generated code for other IDEs).
Set a FPU in "Target" for (under project Properties build settings):
Then you have the choice to Mix HW/SW fp or use HW.
Generated command lines are added with this for the intended target:
-mfloat-abi=hard -mfpu=fpv4-sp-d16
armatollic