aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-10-07 21:50:25 +1000
committerinmarket <andrewh@inmarket.com.au>2014-10-07 21:56:15 +1000
commitd9744317f917d846b512085634e2f79b860744d2 (patch)
tree07feae8b8371af70e0533c64ceec802ea1bfd875 /tools/gmake_scripts
parent2dd2154e6f48b9f72d3291e6ba53948cfdda8eb2 (diff)
downloaduGFX-d9744317f917d846b512085634e2f79b860744d2.tar.gz
uGFX-d9744317f917d846b512085634e2f79b860744d2.tar.bz2
uGFX-d9744317f917d846b512085634e2f79b860744d2.zip
Bug in ChibiOS compiling with Hardware FPU causing Exceptions on epilogue on clock tick.
For now just turn off hardware FPU
Diffstat (limited to 'tools/gmake_scripts')
-rw-r--r--tools/gmake_scripts/cpu_stm32m4.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/gmake_scripts/cpu_stm32m4.mk b/tools/gmake_scripts/cpu_stm32m4.mk
index 9e105a36..5acfe8ad 100644
--- a/tools/gmake_scripts/cpu_stm32m4.mk
+++ b/tools/gmake_scripts/cpu_stm32m4.mk
@@ -14,6 +14,11 @@
# NONE
#
-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
-LIBS += m
+#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 -fsingle-precision-constant -falign-functions=16
+#DEFS += CORTEX_USE_FPU=TRUE
+#LIBS += m
+SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16
+LDFLAGS += -mcpu=cortex-m4
+DEFS += CORTEX_USE_FPU=FALSE
+