aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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:50:25 +1000
commit71a77d64a1244390860010caa31733e40fdba442 (patch)
tree2ef298c49ca9030c861d6d516fbbfbd6cbb38b78 /tools
parent6abd4d71d3fda52ed4d67077ac86130f7d666844 (diff)
downloaduGFX-71a77d64a1244390860010caa31733e40fdba442.tar.gz
uGFX-71a77d64a1244390860010caa31733e40fdba442.tar.bz2
uGFX-71a77d64a1244390860010caa31733e40fdba442.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')
-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
+