From 411e08902abd814870f836c60396087ad09fd942 Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 8 Jun 2015 11:30:30 +1000 Subject: Add stm32m3 make option and fix stm32m1 make option --- tools/gmake_scripts/cpu_stm32m1.mk | 4 ++-- tools/gmake_scripts/cpu_stm32m3.mk | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 tools/gmake_scripts/cpu_stm32m3.mk (limited to 'tools') 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 + -- cgit v1.2.3