aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-02-27 17:44:21 +1000
committerinmarket <andrewh@inmarket.com.au>2018-02-27 17:44:21 +1000
commitf265924396167729e8d9fb36a0383263f36c1270 (patch)
tree28843eb24b18999cf0217ecb0fe935f133901066 /tools
parent14786e97b618b8bc2a0ff1c732d45288fe550e33 (diff)
downloaduGFX-f265924396167729e8d9fb36a0383263f36c1270.tar.gz
uGFX-f265924396167729e8d9fb36a0383263f36c1270.tar.bz2
uGFX-f265924396167729e8d9fb36a0383263f36c1270.zip
First set of V3 macro changes
Diffstat (limited to 'tools')
-rw-r--r--tools/gmake_scripts/cpu_stm32m1.mk2
-rw-r--r--tools/gmake_scripts/cpu_stm32m3.mk2
-rw-r--r--tools/gmake_scripts/cpu_stm32m4.mk4
-rw-r--r--tools/gmake_scripts/cpu_stm32m7.mk2
4 files changed, 5 insertions, 5 deletions
diff --git a/tools/gmake_scripts/cpu_stm32m1.mk b/tools/gmake_scripts/cpu_stm32m1.mk
index 9c8246e6..777ae4f2 100644
--- a/tools/gmake_scripts/cpu_stm32m1.mk
+++ b/tools/gmake_scripts/cpu_stm32m1.mk
@@ -16,5 +16,5 @@
SRCFLAGS += -mcpu=cortex-m1 -falign-functions=16
LDFLAGS += -mcpu=cortex-m1
-DEFS += CORTEX_USE_FPU=FALSE
+DEFS += CORTEX_USE_FPU=GFXOFF
diff --git a/tools/gmake_scripts/cpu_stm32m3.mk b/tools/gmake_scripts/cpu_stm32m3.mk
index 87030aee..b430d7fd 100644
--- a/tools/gmake_scripts/cpu_stm32m3.mk
+++ b/tools/gmake_scripts/cpu_stm32m3.mk
@@ -16,5 +16,5 @@
SRCFLAGS += -mcpu=cortex-m3 -falign-functions=16
LDFLAGS += -mcpu=cortex-m3
-DEFS += CORTEX_USE_FPU=FALSE
+DEFS += CORTEX_USE_FPU=GFXOFF
diff --git a/tools/gmake_scripts/cpu_stm32m4.mk b/tools/gmake_scripts/cpu_stm32m4.mk
index 1e205eb6..db1efd07 100644
--- a/tools/gmake_scripts/cpu_stm32m4.mk
+++ b/tools/gmake_scripts/cpu_stm32m4.mk
@@ -16,9 +16,9 @@
SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
LDFLAGS += -mcpu=cortex-m4 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
-DEFS += CORTEX_USE_FPU=TRUE USE_FPU=hard
+DEFS += CORTEX_USE_FPU=GFXON USE_FPU=hard
LIBS += m
#SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16
#LDFLAGS += -mcpu=cortex-m4
-#DEFS += CORTEX_USE_FPU=FALSE
+#DEFS += CORTEX_USE_FPU=GFXOFF
diff --git a/tools/gmake_scripts/cpu_stm32m7.mk b/tools/gmake_scripts/cpu_stm32m7.mk
index 78e1cc4e..c2d17b72 100644
--- a/tools/gmake_scripts/cpu_stm32m7.mk
+++ b/tools/gmake_scripts/cpu_stm32m7.mk
@@ -15,5 +15,5 @@
#
SRCFLAGS += -mcpu=cortex-m7 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
LDFLAGS += -mcpu=cortex-m7 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
-DEFS += CORTEX_USE_FPU=TRUE USE_FPU=hard
+DEFS += CORTEX_USE_FPU=GFXON USE_FPU=hard
LIBS += m \ No newline at end of file