Skip to content

Commit 6c08123

Browse files
authored
Merge pull request #14313 from hugueskamba/hk_cmake_fix_cortex_m33_gcc
CMake: Fix Cortex-M33 GCC build
2 parents 57a6fe3 + cd6cb71 commit 6c08123

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tools/cmake/cores/Cortex-M33-NS.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
66
list(APPEND common_options
77
"-mthumb"
8-
"-mcpu=cortex-m33+nodsp"
9-
"-mfpu=none"
8+
"-mcpu=cortex-m33+nodsp+nofp"
109
)
1110
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
1211
list(APPEND common_options

tools/cmake/cores/Cortex-M33.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
66
list(APPEND common_options
77
"-mthumb"
8-
"-mcpu=cortex-m33+nodsp"
9-
"-mfpu=none"
8+
"-mcpu=cortex-m33+nodsp+nofp"
109
)
1110
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
1211
list(APPEND common_options

0 commit comments

Comments
 (0)