diff --git a/tools/cmake/cores/Cortex-M33FE-NS.cmake b/tools/cmake/cores/Cortex-M33FE-NS.cmake index e56d910ee6..f610326e6d 100644 --- a/tools/cmake/cores/Cortex-M33FE-NS.cmake +++ b/tools/cmake/cores/Cortex-M33FE-NS.cmake @@ -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() diff --git a/tools/cmake/cores/Cortex-M33FE.cmake b/tools/cmake/cores/Cortex-M33FE.cmake index f29cf45a56..fe41baf4bd 100644 --- a/tools/cmake/cores/Cortex-M33FE.cmake +++ b/tools/cmake/cores/Cortex-M33FE.cmake @@ -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()