zephyr/cmake/fpu-for-gcc-m-cpu.cmake
Ioannis Glaropoulos 5343f8973d cmake: indicate single precision floating-point for Cortex-M33
ARM Cortex-M33 may implement an optional Floating Point Unit
(FPU) supporting single-precision arithmetic. This commit
modifies the respective GCC_M_CPU flag to comply with Cortex-M33.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2018-02-23 21:42:22 -06:00

6 lines
160 B
CMake

# Defines a mapping from GCC_M_CPU to FPU
set(FPU_FOR_cortex-m4 fpv4-sp-d16)
set(FPU_FOR_cortex-m7 fpv5-d16)
set(FPU_FOR_cortex-m33 fpv5-sp-d16)