altos/stm32f4: Add -mfloat-abi=hard compile option
[fw/altos] / src / stm32f4 / Makefile-stm32f4.defs
index 1c87b5b..9c2e870 100644 (file)
@@ -9,5 +9,5 @@ vpath % $(TOPDIR)/stm32f4:$(AO_VPATH)
 CC=$(ARM_CC)
 LIBS=-L$(NEWLIB_NANO)/arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard -lc -lm -lgcc
 
-STM32F4_CFLAGS=-mlittle-endian -mcpu=cortex-m4 -mthumb \
+STM32F4_CFLAGS=-mlittle-endian -mcpu=cortex-m4 -mthumb -mfloat-abi=hard \
        -I$(TOPDIR)/stm32f4 $(AO_CFLAGS) $(NEWLIB_CFLAGS)