mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Fix GCC_ARM Cortex-M3 support
Add missing toolchain option to specify the CPU corepull/13924/head
parent
4acc57c2f4
commit
59da1e952c
|
|
@ -5,6 +5,7 @@
|
|||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||
list(APPEND common_options
|
||||
"-mthumb"
|
||||
"-mcpu=cortex-m3"
|
||||
)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||
list(APPEND c_cxx_compile_options
|
||||
|
|
|
|||
Loading…
Reference in New Issue