Skip to content

Commit

Permalink
[chibios] Make constants consistent with different architectures (#2860)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvantienen committed Apr 14, 2022
1 parent dad9224 commit fbddc94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/boards/holybro_kakute_f7.makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion conf/chibios/chibios_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbddc94

Please sign in to comment.