From 4afff13970b9aaafd55b7db7d1f58d90f1649529 Mon Sep 17 00:00:00 2001 From: "Issam E. Maghni" Date: Sat, 27 Feb 2021 23:51:34 -0500 Subject: [PATCH] Makefile: __TARGET_FPU_VFP is not used by GCC --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3b957bf772..f2f7eaf4c4 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ ST_OBJ += usb_core.o usb_dcd_int.o usb_dcd.o ST_OBJ += usbd_ioreq.o usbd_req.o usbd_core.o PROCESSOR = -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -CFLAGS += -fno-math-errno -DARM_MATH_CM4 -D__FPU_PRESENT=1 -D__TARGET_FPU_VFP -mfp16-format=ieee +CFLAGS += -fno-math-errno -DARM_MATH_CM4 -D__FPU_PRESENT=1 -mfp16-format=ieee #Flags required by the ST library CFLAGS += -DSTM32F4XX -DSTM32F40_41xxx -DHSE_VALUE=8000000 -DUSE_STDPERIPH_DRIVER