32a48f2f55
When we build for a SoC that has a cortex-m4 w/o a FPU that utilizes CMSIS headers with armclang (like mec1501modular_assy6885) we get the following warning: modules/hal/cmsis/CMSIS/Core/Include/core_cm4.h:93:8: warning: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" [-W#warnings] #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" Fix the by setting -mfloat-abi=soft for such cases that don't have FPU enabled. Fixes #56068 Signed-off-by: Kumar Gala <kumar.gala@intel.com> |
||
---|---|---|
.. | ||
app | ||
bintools | ||
compiler | ||
emu | ||
flash | ||
ide | ||
linker | ||
linker_script | ||
makefile_exports | ||
modules | ||
reports | ||
sca/sparse | ||
toolchain | ||
usage | ||
util | ||
cfb.cmake | ||
extra_flags.cmake | ||
gcc-m-cpu.cmake | ||
gcc-m-fpu.cmake | ||
gen_version_h.cmake | ||
hex.cmake | ||
kobj.cmake | ||
mcuboot.cmake | ||
package_helper.cmake | ||
pristine.cmake | ||
target_toolchain_flags.cmake | ||
verify-toolchain.cmake | ||
vif.cmake |