aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-10-30 01:05:47 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-10-30 01:05:47 -0400
commit2692e493c83712f69cd38e56aede815c8cd86216 (patch)
tree7c59dc06b79bd3f97a12355588ee89609df5392e /src
parentd90c3bc57a5f0da29d944dd522bb4ca3cd7d0b39 (diff)
downloadkutter-2692e493c83712f69cd38e56aede815c8cd86216.tar.gz
kutter-2692e493c83712f69cd38e56aede815c8cd86216.tar.xz
kutter-2692e493c83712f69cd38e56aede815c8cd86216.zip
atsamd: 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>
Diffstat (limited to 'src')
-rw-r--r--src/atsamd/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/atsamd/Makefile b/src/atsamd/Makefile
index 3fe2a4e9..d885f847 100644
--- a/src/atsamd/Makefile
+++ b/src/atsamd/Makefile
@@ -11,7 +11,6 @@ MCU := $(shell echo $(CONFIG_MCU) | tr a-z A-Z)
CFLAGS-$(CONFIG_MACH_SAMD21) += -mcpu=cortex-m0plus -Ilib/samd21/samd21a/include
CFLAGS-$(CONFIG_MACH_SAMD51) += -mcpu=cortex-m4 -Ilib/samd51/samd51a/include
-CFLAGS-$(CONFIG_MACH_SAMD51) += -mfpu=fpv4-sp-d16 -mfloat-abi=hard
CFLAGS += $(CFLAGS-y) -D__$(MCU)__ -mthumb -Ilib/cmsis-core
CFLAGS_klipper.elf += --specs=nano.specs --specs=nosys.specs