Bug in ChibiOS compiling with Hardware FPU causing Exceptions on epilogue on clock tick.

For now just turn off hardware FPU
This commit is contained in:
inmarket 2014-10-07 21:50:25 +10:00
parent 6abd4d71d3
commit 71a77d64a1

View File

@ -14,6 +14,11 @@
# NONE # NONE
# #
SRCFLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -falign-functions=16 #SRCFLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -falign-functions=16
LDFLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 #LDFLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -falign-functions=16
LIBS += m #DEFS += CORTEX_USE_FPU=TRUE
#LIBS += m
SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16
LDFLAGS += -mcpu=cortex-m4
DEFS += CORTEX_USE_FPU=FALSE