From 4766b6b17f88269508d55fc6d0aa71cdb418541d Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Tue, 7 Jan 2020 15:16:49 +0800 Subject: [PATCH] tune-cortexm3.inc: set '-mfloat-abi=soft' floating-point ABI Due to default -mfloat-abi=softfp facing below error log: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" Ref: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html Signed-off-by: Naveen Saini --- conf/machine/include/tune-cortexm3.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/machine/include/tune-cortexm3.inc b/conf/machine/include/tune-cortexm3.inc index 25d7590..3fba827 100644 --- a/conf/machine/include/tune-cortexm3.inc +++ b/conf/machine/include/tune-cortexm3.inc @@ -18,3 +18,4 @@ PACKAGE_EXTRA_ARCHS_tune-cortexm3 ="cortexm3" TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp" +TUNE_CCARGS_MFLOAT = "soft"