diff options
Diffstat (limited to 'tools/gmake_scripts')
-rw-r--r-- | tools/gmake_scripts/cpu_stm32m1.mk | 4 | ||||
-rw-r--r-- | tools/gmake_scripts/cpu_stm32m3.mk | 20 |
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 + |