Makefile additions for stm32m7 and raw32
This commit is contained in:
parent
9198aa8fac
commit
1dad1ed21f
24
tools/gmake_scripts/cpu_stm32m7.mk
Normal file
24
tools/gmake_scripts/cpu_stm32m7.mk
Normal file
@ -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
|
||||
|
13
tools/gmake_scripts/os_raw32.mk
Normal file
13
tools/gmake_scripts/os_raw32.mk
Normal file
@ -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
|
||||
#
|
Loading…
Reference in New Issue
Block a user