aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32L476-DISCOVERY
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-03-17 17:34:16 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-03-17 17:34:16 +0000
commit35c72d21376b08452cbe15855e22312e402f73cc (patch)
tree685a5019e10d79168e11cd15ad86df7fc685d69c /demos/STM32/RT-STM32L476-DISCOVERY
parent0ca35b4b5a8fc67b2222fa0981cb650f1b938f35 (diff)
downloadChibiOS-35c72d21376b08452cbe15855e22312e402f73cc.tar.gz
ChibiOS-35c72d21376b08452cbe15855e22312e402f73cc.tar.bz2
ChibiOS-35c72d21376b08452cbe15855e22312e402f73cc.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11796 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos/STM32/RT-STM32L476-DISCOVERY')
-rw-r--r--demos/STM32/RT-STM32L476-DISCOVERY/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/Makefile b/demos/STM32/RT-STM32L476-DISCOVERY/Makefile
index 26e343617..9c33696ac 100644
--- a/demos/STM32/RT-STM32L476-DISCOVERY/Makefile
+++ b/demos/STM32/RT-STM32L476-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=fpv4-sp-d16 -fsingle-precision-constant
+endif
+
#
# Architecture or project specific options
##############################################################################
@@ -103,6 +108,8 @@ include $(CHIBIOS)/os/hal/osal/rt/osal.mk
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk
+# Auto-build files in ./source recursively.
+include $(CHIBIOS)/tools/mk/autobuild.mk
# Other files (optional).
include $(CHIBIOS)/test/lib/test.mk
include $(CHIBIOS)/test/rt/rt_test.mk
@@ -171,7 +178,7 @@ ULIBDIR =
ULIBS =
#
-# End of user defines
+# End of user section
##############################################################################
##############################################################################