aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-06-08 11:30:30 +1000
committerinmarket <andrewh@inmarket.com.au>2015-06-08 11:31:23 +1000
commit411e08902abd814870f836c60396087ad09fd942 (patch)
treea88be1e7de715dd9a2f9c97da9c006e4b18414fa /tools
parent08585ef75113d19f22160094f8b16a160d1d2b9d (diff)
downloaduGFX-411e08902abd814870f836c60396087ad09fd942.tar.gz
uGFX-411e08902abd814870f836c60396087ad09fd942.tar.bz2
uGFX-411e08902abd814870f836c60396087ad09fd942.zip
Add stm32m3 make option and fix stm32m1 make option
Diffstat (limited to 'tools')
-rw-r--r--tools/gmake_scripts/cpu_stm32m1.mk4
-rw-r--r--tools/gmake_scripts/cpu_stm32m3.mk20
2 files changed, 22 insertions, 2 deletions
diff --git a/tools/gmake_scripts/cpu_stm32m1.mk b/tools/gmake_scripts/cpu_stm32m1.mk
index 87030aee..9c8246e6 100644
--- a/tools/gmake_scripts/cpu_stm32m1.mk
+++ b/tools/gmake_scripts/cpu_stm32m1.mk
@@ -14,7 +14,7 @@
# NONE
#
-SRCFLAGS += -mcpu=cortex-m3 -falign-functions=16
-LDFLAGS += -mcpu=cortex-m3
+SRCFLAGS += -mcpu=cortex-m1 -falign-functions=16
+LDFLAGS += -mcpu=cortex-m1
DEFS += CORTEX_USE_FPU=FALSE
diff --git a/tools/gmake_scripts/cpu_stm32m3.mk b/tools/gmake_scripts/cpu_stm32m3.mk
new file mode 100644
index 00000000..87030aee
--- /dev/null
+++ b/tools/gmake_scripts/cpu_stm32m3.mk
@@ -0,0 +1,20 @@
+#
+# This file is subject to the terms of the GFX License. If a copy of
+# the license was not distributed with this file, you can obtain one at:
+#
+# http://ugfx.org/license.html
+#
+
+#
+# See readme.txt for the make API
+#
+
+# Requirements:
+#
+# NONE
+#
+
+SRCFLAGS += -mcpu=cortex-m3 -falign-functions=16
+LDFLAGS += -mcpu=cortex-m3
+DEFS += CORTEX_USE_FPU=FALSE
+