Merge pull request #10313 from P-I-Engineer/patch-1
[inav.git] / cmake / cortex-m7.cmake
blobf02b9a3918727c57ead991ce0879ea3bfb22720a
1 set(CORTEX_M7_COMMON_OPTIONS
2     -mthumb
3     -mcpu=cortex-m7
4     -mfloat-abi=hard
5     -mfpu=fpv5-sp-d16
6     -fsingle-precision-constant
7     -Wdouble-promotion
10 set(CORTEX_M7_COMPILE_OPTIONS
13 set(CORTEX_M7_LINK_OPTIONS
16 set(CORTEX_M7_DEFINITIONS
17     __FPU_PRESENT=1
18     ARM_MATH_CM7
19     ARM_MATH_MATRIX_CHECK
20     ARM_MATH_ROUNDING
21     UNALIGNED_SUPPORT_DISABLE