Skip to content

Commit 5d8d2ba

Browse files
committed
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.
1 parent 15acc00 commit 5d8d2ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/cmake/cores/Cortex-M33FE-NS.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
77
"-mthumb"
88
"-mfpu=fpv5-sp-d16"
99
"-mfloat-abi=softfp"
10-
"-mcpu=cortex-m33"
10+
"-mcpu=cortex-m33+dsp"
1111
)
1212
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
1313
list(APPEND common_options
14-
"-mcpu=cortex-m33"
14+
"-mcpu=cortex-m33+dsp"
1515
)
1616
endif()
1717

tools/cmake/cores/Cortex-M33FE.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
77
"-mthumb"
88
"-mfpu=fpv5-sp-d16"
99
"-mfloat-abi=softfp"
10-
"-mcpu=cortex-m33"
10+
"-mcpu=cortex-m33+dsp"
1111
)
1212
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
1313
list(APPEND common_options
14-
"-mcpu=cortex-m33"
14+
"-mcpu=cortex-m33+dsp"
1515
)
1616
endif()
1717

0 commit comments

Comments
 (0)