keyboard/qmk/lib/ugfx/tools/gmake_scripts/cpu_stm32m7.mk

19 lines
537 B
Makefile

#
# 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-m7 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
LDFLAGS += -mcpu=cortex-m7 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
DEFS += CORTEX_USE_FPU=GFXON USE_FPU=hard
LIBS += m