aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-10-30 01:10:50 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-10-30 01:10:50 -0400
commit85d0ef974cfcc18606c5c95c3bf4c76cc18cc22e (patch)
treeb5ca615fc77610e98fd56239a15cd1f47b682f13
parent45d4970712601c55c264228cf9e2c0d80a0a0c90 (diff)
downloadkutter-85d0ef974cfcc18606c5c95c3bf4c76cc18cc22e.tar.gz
kutter-85d0ef974cfcc18606c5c95c3bf4c76cc18cc22e.tar.xz
kutter-85d0ef974cfcc18606c5c95c3bf4c76cc18cc22e.zip
stm32: Remove gcc -mfpu=fpv4-sp-d16 floating point option
The floating point unit must be enabled in order to use it and Klipper does not currently implement that. Newer versions of gcc may spill registers to the floating point unit causing failures. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/stm32/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stm32/Makefile b/src/stm32/Makefile
index afc3809f..778f2327 100644
--- a/src/stm32/Makefile
+++ b/src/stm32/Makefile
@@ -17,7 +17,6 @@ CFLAGS-$(CONFIG_MACH_STM32F0) += -mcpu=cortex-m0 -Ilib/stm32f0/include
CFLAGS-$(CONFIG_MACH_STM32F1) += -mcpu=cortex-m3 -Ilib/stm32f1/include
CFLAGS-$(CONFIG_MACH_STM32F2) += -mcpu=cortex-m3 -Ilib/stm32f2/include
CFLAGS-$(CONFIG_MACH_STM32F4) += -mcpu=cortex-m4 -Ilib/stm32f4/include
-CFLAGS-$(CONFIG_MACH_STM32F4) += -mfpu=fpv4-sp-d16 -mfloat-abi=hard
CFLAGS-$(CONFIG_MACH_STM32H7) += -mcpu=cortex-m7 -Ilib/stm32h7/include
CFLAGS += $(CFLAGS-y) -D$(MCU_UPPER) -mthumb -Ilib/cmsis-core -Ilib/fast-hash