mirror of https://github.com/Desuuuu/klipper.git
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>
This commit is contained in:
parent
2692e493c8
commit
45d4970712
|
@ -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_SAM3X) += -mcpu=cortex-m3 -falign-loops=16
|
||||||
CFLAGS-$(CONFIG_MACH_SAM4) += -mcpu=cortex-m4
|
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_SAM3X) += -Ilib/sam3x/include
|
||||||
CFLAGS-$(CONFIG_MACH_SAM4S) += -Ilib/sam4s/include
|
CFLAGS-$(CONFIG_MACH_SAM4S) += -Ilib/sam4s/include
|
||||||
CFLAGS-$(CONFIG_MACH_SAM4E) += -Ilib/sam4e/include
|
CFLAGS-$(CONFIG_MACH_SAM4E) += -Ilib/sam4e/include
|
||||||
|
|
Loading…
Reference in New Issue