Adding STM32F1 script
This commit is contained in:
parent
7c7459f1d2
commit
7e773a2a4c
20
tools/gmake_scripts/cpu_stm32m1.mk
Normal file
20
tools/gmake_scripts/cpu_stm32m1.mk
Normal file
@ -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-m1 -falign-functions=16
|
||||||
|
LDFLAGS += -mcpu=cortex-m1
|
||||||
|
DEFS += CORTEX_USE_FPU=FALSE
|
||||||
|
|
@ -16,7 +16,7 @@ OPT_COPY_EXE=no|yes - Copy the final program to the local project directory -
|
|||||||
OPT_NONSTANDARD_FLAGS=no - Turn off adding the standard compiler language flags - default no
|
OPT_NONSTANDARD_FLAGS=no - Turn off adding the standard compiler language flags - default no
|
||||||
OPT_LINK_OPTIMIZE=no - Remove unused code/data during link - default no
|
OPT_LINK_OPTIMIZE=no - Remove unused code/data during link - default no
|
||||||
OPT_OS=win32|win32.chibios|linux|osx|chibios|freertos|ecos|raw32|rawrtos - Mandatory: The operating system
|
OPT_OS=win32|win32.chibios|linux|osx|chibios|freertos|ecos|raw32|rawrtos - Mandatory: The operating system
|
||||||
OPT_CPU=x86|x64|stm32m4|at91sam7|armv6|raspberrypi - Add some cpu dependant flags
|
OPT_CPU=x86|x64|stm32m1|stm32m4|at91sam7|armv6|raspberrypi - Add some cpu dependant flags
|
||||||
|
|
||||||
BUILDDIR - Build Directory - default is ".build" or "bin/Debug" or "bin/Release" depending on the target
|
BUILDDIR - Build Directory - default is ".build" or "bin/Debug" or "bin/Release" depending on the target
|
||||||
PROJECT - Project Name - default is the name of the project directory
|
PROJECT - Project Name - default is the name of the project directory
|
||||||
|
Loading…
Reference in New Issue
Block a user