From 18c4a9f8703b8a6ddcea050d74d31b194005dae1 Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 6 Oct 2014 15:50:19 +1000 Subject: Update support for ChibiOS v3 to the current repository. Update Make system to match. Add ability to make to a library rather than a program Stop ignoring objcode invalid format errors Multiple make tidy ups --- tools/gmake_scripts/cpu_stm32m4.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tools/gmake_scripts/cpu_stm32m4.mk (limited to 'tools/gmake_scripts/cpu_stm32m4.mk') diff --git a/tools/gmake_scripts/cpu_stm32m4.mk b/tools/gmake_scripts/cpu_stm32m4.mk new file mode 100644 index 00000000..9e105a36 --- /dev/null +++ b/tools/gmake_scripts/cpu_stm32m4.mk @@ -0,0 +1,19 @@ +# +# 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 +LIBS += m -- cgit v1.2.3