stm32f7: FPU only single precision on f7 :(

Boo ST.
This commit is contained in:
Karl Palsson
2015-10-15 12:28:54 +00:00
parent 5ece67ad5d
commit caeeed2b0f
2 changed files with 5 additions and 4 deletions

View File

@@ -26,8 +26,8 @@ PREFIX ?= arm-none-eabi
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
# By default, use double precision FPU
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv5-d16
# STM32F7 only supports single precision FPU
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv5-sp-d16
CFLAGS = -Os -g \
-Wall -Wextra -Wimplicit-function-declaration \