Merge remote-tracking branch 'origin/master' into mmosca-sbus2-telemetry
[inav.git] / cmake / cortex-m4f.cmake
blob981af7a8ff3297f073831520deed0dabdb4b7554
1 set(CORTEX_M4F_COMMON_OPTIONS
2     -mthumb
3     -mcpu=cortex-m4
4     -march=armv7e-m
5     -mfloat-abi=hard
6     -mfpu=fpv4-sp-d16
7     -fsingle-precision-constant
8     -Wdouble-promotion
11 set(CORTEX_M4F_COMPILE_OPTIONS
14 set(CORTEX_M4F_LINK_OPTIONS
17 set(CORTEX_M4F_DEFINITIONS
18     __FPU_PRESENT=1
19     ARM_MATH_CM4
20     ARM_MATH_MATRIX_CHECK
21     ARM_MATH_ROUNDING
22     UNALIGNED_SUPPORT_DISABLE