aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gmake_scripts')
-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
+#