mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Fix GCC_ARM Cortex-M33 and Cortex-M33-NS support
Add missing toolchain option to specify the CPU corepull/13924/head
parent
72d0fb9cc6
commit
ea6661caf3
|
@ -5,6 +5,7 @@
|
|||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||
list(APPEND common_options
|
||||
"-mthumb"
|
||||
"-mcpu=cortex-m33+nodsp"
|
||||
"-march=armv8-m.main"
|
||||
)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||
list(APPEND common_options
|
||||
"-mthumb"
|
||||
"-mcpu=cortex-m33+nodsp"
|
||||
"-march=armv8-m.main"
|
||||
)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||
|
|
Loading…
Reference in New Issue