aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-07-10 18:11:36 +1000
committerinmarket <andrewh@inmarket.com.au>2015-07-10 18:13:43 +1000
commit1dad1ed21f737bea5ba2e6b1491cf48074aa5649 (patch)
tree934c3903e8ac977daf18ca8c9d43a4dfd747c37a /tools
parent9198aa8facea5262dcf96069cfafaafd1e28f6db (diff)
downloaduGFX-1dad1ed21f737bea5ba2e6b1491cf48074aa5649.tar.gz
uGFX-1dad1ed21f737bea5ba2e6b1491cf48074aa5649.tar.bz2
uGFX-1dad1ed21f737bea5ba2e6b1491cf48074aa5649.zip
Makefile additions for stm32m7 and raw32
Diffstat (limited to 'tools')
-rw-r--r--tools/gmake_scripts/cpu_stm32m7.mk24
-rw-r--r--tools/gmake_scripts/os_raw32.mk13
2 files changed, 37 insertions, 0 deletions
diff --git a/tools/gmake_scripts/cpu_stm32m7.mk b/tools/gmake_scripts/cpu_stm32m7.mk
new file mode 100644
index 00000000..0a59e24f
--- /dev/null
+++ b/tools/gmake_scripts/cpu_stm32m7.mk
@@ -0,0 +1,24 @@
+#
+# 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-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-m7 -falign-functions=16
+LDFLAGS += -mcpu=cortex-m7
+DEFS += CORTEX_USE_FPU=FALSE
+
diff --git a/tools/gmake_scripts/os_raw32.mk b/tools/gmake_scripts/os_raw32.mk
new file mode 100644
index 00000000..1c96c8ec
--- /dev/null
+++ b/tools/gmake_scripts/os_raw32.mk
@@ -0,0 +1,13 @@
+#
+# 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
+#