aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-10-30 01:10:15 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-10-30 01:10:15 -0400
commit45d4970712601c55c264228cf9e2c0d80a0a0c90 (patch)
treeda7b791bc5de5b478a6395597528af3a670bf164
parent2692e493c83712f69cd38e56aede815c8cd86216 (diff)
downloadkutter-45d4970712601c55c264228cf9e2c0d80a0a0c90.tar.gz
kutter-45d4970712601c55c264228cf9e2c0d80a0a0c90.tar.xz
kutter-45d4970712601c55c264228cf9e2c0d80a0a0c90.zip
atsam: 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/atsam/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/atsam/Makefile b/src/atsam/Makefile
index 359cfc3d..37ab4273 100644
--- a/src/atsam/Makefile
+++ b/src/atsam/Makefile
@@ -12,7 +12,6 @@ MCU := $(shell echo $(CONFIG_MCU) | tr a-z A-Z)
CFLAGS-$(CONFIG_MACH_SAM3X) += -mcpu=cortex-m3 -falign-loops=16
CFLAGS-$(CONFIG_MACH_SAM4) += -mcpu=cortex-m4
-CFLAGS-$(CONFIG_MACH_SAM4E) += -mfpu=fpv4-sp-d16 -mfloat-abi=hard
CFLAGS-$(CONFIG_MACH_SAM3X) += -Ilib/sam3x/include
CFLAGS-$(CONFIG_MACH_SAM4S) += -Ilib/sam4s/include
CFLAGS-$(CONFIG_MACH_SAM4E) += -Ilib/sam4e/include