From af722b76d203c1724138480882b7dbecee3a6b43 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 14 Sep 2021 07:30:36 +0200 Subject: bsps/arm: Fix ABI flags for Cortex-M4 Close #4504. --- spec/build/bsps/arm/lpc24xx/abi.yml | 4 ++-- spec/build/bsps/arm/stm32f4/abi.yml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'spec/build') diff --git a/spec/build/bsps/arm/lpc24xx/abi.yml b/spec/build/bsps/arm/lpc24xx/abi.yml index dd98de97fe..e032f2d9a6 100644 --- a/spec/build/bsps/arm/lpc24xx/abi.yml +++ b/spec/build/bsps/arm/lpc24xx/abi.yml @@ -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 diff --git a/spec/build/bsps/arm/stm32f4/abi.yml b/spec/build/bsps/arm/stm32f4/abi.yml index 8c9b62c6ea..3098d8597b 100644 --- a/spec/build/bsps/arm/stm32f4/abi.yml +++ b/spec/build/bsps/arm/stm32f4/abi.yml @@ -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 -- cgit v1.2.3