aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/QSPI-MFS/Makefile-stm32l476_discovery
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/multi/QSPI-MFS/Makefile-stm32l476_discovery')
-rw-r--r--testhal/STM32/multi/QSPI-MFS/Makefile-stm32l476_discovery5
1 files changed, 5 insertions, 0 deletions
diff --git a/testhal/STM32/multi/QSPI-MFS/Makefile-stm32l476_discovery b/testhal/STM32/multi/QSPI-MFS/Makefile-stm32l476_discovery
index 7512eb088..442b0ef9b 100644
--- a/testhal/STM32/multi/QSPI-MFS/Makefile-stm32l476_discovery
+++ b/testhal/STM32/multi/QSPI-MFS/Makefile-stm32l476_discovery
@@ -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-sp-d16 -fsingle-precision-constant
+endif
+
#
# Architecture or project specific options
##############################################################################