CMake cores: fix dsp for M33FE (enabling it)

I realized we specified nodsp for M33 core but had march for FE parts enabled with dsp.
This fixes it.

M33F has no dsp. M33FE cores have dsp enabled.
pull/14196/head
Martin Kojtal 2021-01-27 10:30:26 +00:00
parent 15acc009a0
commit 5d8d2bae76
2 changed files with 4 additions and 4 deletions

View File

@ -7,11 +7,11 @@ if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
"-mthumb"
"-mfpu=fpv5-sp-d16"
"-mfloat-abi=softfp"
"-mcpu=cortex-m33"
"-mcpu=cortex-m33+dsp"
)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
list(APPEND common_options
"-mcpu=cortex-m33"
"-mcpu=cortex-m33+dsp"
)
endif()

View File

@ -7,11 +7,11 @@ if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
"-mthumb"
"-mfpu=fpv5-sp-d16"
"-mfloat-abi=softfp"
"-mcpu=cortex-m33"
"-mcpu=cortex-m33+dsp"
)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
list(APPEND common_options
"-mcpu=cortex-m33"
"-mcpu=cortex-m33+dsp"
)
endif()