From 5591fc6b165aeb06cf42c520d6e9570fe9fd6d86 Mon Sep 17 00:00:00 2001 From: Hidetaka Takano Date: Wed, 14 Jun 2017 11:24:19 +0900 Subject: [PATCH] Fixed ARMv7-M Toolchain setting. - Cortex-M4 only have Single Precision FPU. --- arch/arm/src/armv7-m/Toolchain.defs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/src/armv7-m/Toolchain.defs b/arch/arm/src/armv7-m/Toolchain.defs index 8cfcaa3e1d..74b1fcdcc3 100644 --- a/arch/arm/src/armv7-m/Toolchain.defs +++ b/arch/arm/src/armv7-m/Toolchain.defs @@ -128,11 +128,7 @@ ifeq ($(CONFIG_ARCH_CORTEXM4),y) TOOLCHAIN_MTUNE := -mtune=cortex-m4 TOOLCHAIN_MARCH := -march=armv7e-m ifeq ($(CONFIG_ARCH_FPU),y) - ifeq ($(CONFIG_ARCH_DPFPU),y) - TOOLCHAIN_MFLOAT := -mfpu=fpv4-sp -mfloat-abi=hard - else TOOLCHAIN_MFLOAT := -mfpu=fpv4-sp-d16 -mfloat-abi=hard - endif else TOOLCHAIN_MFLOAT := -mfloat-abi=soft endif