Merge pull request #14313 from hugueskamba/hk_cmake_fix_cortex_m33_gcc

CMake: Fix Cortex-M33 GCC build
pull/14334/head
Martin Kojtal 2021-02-23 14:23:01 +00:00 committed by GitHub
commit 6c08123dff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -5,8 +5,7 @@
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
list(APPEND common_options
"-mthumb"
"-mcpu=cortex-m33+nodsp"
"-mfpu=none"
"-mcpu=cortex-m33+nodsp+nofp"
)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
list(APPEND common_options

View File

@ -5,8 +5,7 @@
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
list(APPEND common_options
"-mthumb"
"-mcpu=cortex-m33+nodsp"
"-mfpu=none"
"-mcpu=cortex-m33+nodsp+nofp"
)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
list(APPEND common_options