mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-20 11:28:58 +08:00
[chibios] Make constants consistent with different architectures (#2860)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user