diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-07-10 18:11:36 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-07-10 18:11:36 +1000 |
commit | 1137ed6ee76251180dc12b8db59768382fdd3023 (patch) | |
tree | ca6daaba0ff58ed1381c54b20885fc253d77b0fb /tools | |
parent | d4f2cb0d72c3fd6d0c57113bf71e3225b82c5306 (diff) | |
download | uGFX-1137ed6ee76251180dc12b8db59768382fdd3023.tar.gz uGFX-1137ed6ee76251180dc12b8db59768382fdd3023.tar.bz2 uGFX-1137ed6ee76251180dc12b8db59768382fdd3023.zip |
Makefile additions for stm32m7 and raw32
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gmake_scripts/cpu_stm32m7.mk | 24 | ||||
-rw-r--r-- | tools/gmake_scripts/os_raw32.mk | 13 |
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 +# |