aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F769I-DISCOVERY
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-06-27 08:28:06 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-06-27 08:28:06 +0000
commit5895b0f2a06ac1a1578c3b0812b20832c3d69c29 (patch)
treed6ff4a1ec0da9c13b64ed4ce7ebbf3a1f93bd1b9 /demos/STM32/RT-STM32F769I-DISCOVERY
parent12c3d9e4169cb5f27fdf1027c306821742029121 (diff)
downloadChibiOS-5895b0f2a06ac1a1578c3b0812b20832c3d69c29.tar.gz
ChibiOS-5895b0f2a06ac1a1578c3b0812b20832c3d69c29.tar.bz2
ChibiOS-5895b0f2a06ac1a1578c3b0812b20832c3d69c29.zip
FPU settings for Cortex-M7, requires GCC 4.9 minimum.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9669 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F769I-DISCOVERY')
-rw-r--r--demos/STM32/RT-STM32F769I-DISCOVERY/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F769I-DISCOVERY/Makefile b/demos/STM32/RT-STM32F769I-DISCOVERY/Makefile
index 74c55f61c..b9f274a5c 100644
--- a/demos/STM32/RT-STM32F769I-DISCOVERY/Makefile
+++ b/demos/STM32/RT-STM32F769I-DISCOVERY/Makefile
@@ -74,6 +74,11 @@ ifeq ($(USE_FPU),)
USE_FPU = no
endif
+# FPU-related options.
+ifeq ($(USE_FPU_OPT),)
+ USE_FPU_OPT = -mfloat-abi=$(USE_FPU) -mfpu=fpv5-d16
+endif
+
#
# Architecture or project specific options
##############################################################################
@@ -156,7 +161,7 @@ INCDIR = $(CHIBIOS)/os/license \
# Compiler settings
#
-MCU = cortex-m4
+MCU = cortex-m7
#TRGT = arm-elf-
TRGT = arm-none-eabi-