STM32F4 compiling under linux (with hardfloat!)
- Get a patched version of summon-arm-toolchain
- clone https://github.com/jeremyherbert/stm32-templates
- cd to the “stm32f4-discovery” folder
- run make
- enjoy hardware floating point support
To add hardfloat support to your own projects, use the compiler flags:
-mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16