bsps/arm: Fix ABI flags for Cortex-M4

Close #4504.
This commit is contained in:
Sebastian Huber
2021-09-14 07:30:36 +02:00
parent 7792ab88ca
commit af722b76d2
2 changed files with 5 additions and 3 deletions

View File

@@ -19,10 +19,10 @@ default-by-variant:
- arm/lpc17xx_plx800_ram
- arm/lpc17xx_plx800_rom_int
- value:
- -mthumb
- -mcpu=cortex-m4
- -mfpu=fpv4-sp-d16
- -mthumb
- -mfloat-abi=hard
- -mfpu=auto
variants:
- arm/lpc40xx_ea_ram
- arm/lpc40xx_ea_rom_int

View File

@@ -7,8 +7,10 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default:
- -mthumb
- -mcpu=cortex-m4
- -mthumb
- -mfloat-abi=hard
- -mfpu=auto
default-by-variant:
- value:
- -mthumb