aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts/cpu_stm32m4.mk
blob: 046061a318590c053a1b8af7aec3c8d8412d828c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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.io/license.html
#

#
# See readme.txt for the make API
#

# Requirements:
#
# NONE
#

SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
LDFLAGS  += -mcpu=cortex-m4 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
DEFS     += CORTEX_USE_FPU=GFXON USE_FPU=hard
LIBS	 += m
#SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16
#LDFLAGS  += -mcpu=cortex-m4
#DEFS     += CORTEX_USE_FPU=GFXOFF