aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gmake_scripts')
-rw-r--r--tools/gmake_scripts/compiler_gcc.mk21
-rw-r--r--tools/gmake_scripts/cpu_stm32m7.mk24
-rw-r--r--tools/gmake_scripts/os_raw32.mk13
3 files changed, 52 insertions, 6 deletions
diff --git a/tools/gmake_scripts/compiler_gcc.mk b/tools/gmake_scripts/compiler_gcc.mk
index c6225d4d..23912992 100644
--- a/tools/gmake_scripts/compiler_gcc.mk
+++ b/tools/gmake_scripts/compiler_gcc.mk
@@ -196,22 +196,31 @@ builddirs:
$(FAKEFILE):
ifneq ($(OPT_VERBOSE_COMPILE),yes)
- @echo .
ifneq ($(filter %.cpp,$(SRC) $(SRC_NOTHUMB) $(SRC_THUMB)),)
- @echo C++ Compiler Options.. $(XCXX) -c $(CPPFLAGS) $(CXXFLAGS) $(SRCFLAGS) $(@:.o=.cpp) -o $(OBJDIR)/$@
+ @echo .
+ @echo C++ Compiler Options..
+ @echo $(XCXX) -c $(CPPFLAGS) $(CXXFLAGS) $(SRCFLAGS) $(@:.o=.cpp) -o $(OBJDIR)/$@
else
ifneq ($(filter %.c++,$(SRC) $(SRC_NOTHUMB) $(SRC_THUMB)),)
- @echo C++ Compiler Options.. $(XCXX) -c $(CPPFLAGS) $(CXXFLAGS) $(SRCFLAGS) $(@:.o=.c++) -o $(OBJDIR)/$@
+ @echo .
+ @echo C++ Compiler Options..
+ @echo $(XCXX) -c $(CPPFLAGS) $(CXXFLAGS) $(SRCFLAGS) $(@:.o=.c++) -o $(OBJDIR)/$@
endif
endif
ifneq ($(filter %.c,$(SRC) $(SRC_NOTHUMB) $(SRC_THUMB)),)
- @echo C Compiler Options.... $(XCC) -c $(CPPFLAGS) $(CFLAGS) $(SRCFLAGS) $(@:.o=.c) -o $(OBJDIR)/$@
+ @echo .
+ @echo C Compiler Options....
+ @echo $(XCC) -c $(CPPFLAGS) $(CFLAGS) $(SRCFLAGS) $(@:.o=.c) -o $(OBJDIR)/$@
endif
ifneq ($(filter %.s,$(SRC) $(SRC_NOTHUMB) $(SRC_THUMB)),)
- @echo Assembler Options..... $(XCC) -c $(CPPFLAGS) $(CFLAGS) $(SRCFLAGS) $(@:.o=.s) -o $(OBJDIR)/$@
+ @echo .
+ @echo Assembler Options.....
+ @echo $(XCC) -c $(CPPFLAGS) $(CFLAGS) $(SRCFLAGS) $(@:.o=.s) -o $(OBJDIR)/$@
endif
ifneq ($(OPT_MAKE_LIB),yes)
- @echo Linker Options........ $(XLD) $(LDFLAGS) $(OBJDIR)/$@ -o $(EXEFILE)
+ @echo .
+ @echo Linker Options........
+ @echo $(XLD) $(LDFLAGS) $(OBJDIR)/$@ -o $(EXEFILE)
endif
@echo .
endif
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
+#