zephyr/cmake
Kumar Gala 32a48f2f55 armclang: Fix building cortex-m4 w/o floating point
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>
2023-03-22 09:58:52 +01:00
..
app
bintools toolchain: oneApi: Fix support and update for 2023.0.0 release 2023-02-23 14:30:03 -05:00
compiler armclang: Fix building cortex-m4 w/o floating point 2023-03-22 09:58:52 +01:00
emu
flash west: runners: uf2: Add new UF2 runner. 2023-02-20 12:50:38 +01:00
ide
linker linker: introduce profile xt-ld 2023-02-22 08:35:46 -05:00
linker_script linker: Fix handling of _static_thread_data section 2023-03-20 13:38:23 +01:00
makefile_exports
modules cmake: Change prj_<board>.conf deprecation location 2023-03-22 08:58:14 +00:00
reports
sca/sparse
toolchain toolchain: esp32: support esp32s3 in 'espressif' toolchain 2023-03-06 13:52:55 +01:00
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 cmake: recommend CMake >=3.20.5 as minimum CMake version 2023-03-07 18:15:58 +01:00
pristine.cmake
target_toolchain_flags.cmake
verify-toolchain.cmake
vif.cmake