[chibios] Make constants consistent with different architectures (#2860)

This commit is contained in:
Freek van Tienen
2022-04-14 14:40:26 +02:00
committed by GitHub
parent dad9224d12
commit fbddc942b3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ MCU=cortex-m7
## FPU on F7
USE_FPU=hard
USE_FPU_OPT= -mfpu=fpv5-sp-d16 -fsingle-precision-constant
USE_FPU_OPT= -mfpu=fpv5-sp-d16
USE_LTO ?= yes
+1 -1
View File
@@ -29,7 +29,7 @@ endif
# FPU options default (Cortex-M4 and Cortex-M7 single precision).
ifeq ($(USE_FPU_OPT),)
USE_FPU_OPT = -mfpu=fpv4-sp-d16 -fsingle-precision-constant
USE_FPU_OPT = -mfpu=fpv4-sp-d16
endif
# FPU-related options