Skip to content

Commit 204dd5b

Browse files
committed
cmake: Use GCC CMSIS assembly with ARM toolchain
CMSIS provides both GNU and legacy ARM assembly files. Instead of using armasm and legacy asm with ARM Compiler 6, CMakeLists is modified to use the GNU format with both GCC_ARM and ARM C6.
1 parent 046fa78 commit 204dd5b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmsis/CMSIS_5/CMSIS/RTOS2/RTX/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ if(${CMAKE_CROSSCOMPILING})
3939

4040
_mbed_get_cortex_a_exception_handlers()
4141

42-
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
43-
_mbed_get_cortex_m_exception_handlers(TOOLCHAIN_GCC)
44-
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
45-
_mbed_get_cortex_m_exception_handlers(TOOLCHAIN_ARM)
46-
endif()
42+
_mbed_get_cortex_m_exception_handlers(TOOLCHAIN_GCC)
4743
endif()
4844

4945
target_include_directories(mbed-rtos

0 commit comments

Comments
 (0)