File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ message(STATUS "CMSIS-RTX 5.9.0")
3434
3535# Add toolchain-specific interrupt handlers based on core type
3636if (${CMAKE_CROSSCOMPILING} )
37- set (RTX_IRQ_FILE_PATH " ${CMAKE_CURRENT_LIST_DIR} /../CMSIS-RTX/Source/GCC" )
37+ set (RTX_IRQ_FILE_PATH ${CMAKE_CURRENT_LIST_DIR} /../CMSIS-RTX/Source /GCC)
3838 set (_cm0_variants M0 M0P)
3939 set (_cmx_variants M3 M4 M7)
4040 set (_cmxx_variants M33 M35 M35P M55 M85)
@@ -58,12 +58,12 @@ if(${CMAKE_CROSSCOMPILING})
5858 set (RTX_IRQ_FILE "irq_armv8mml.S" )
5959 endif ()
6060 endforeach ()
61-
61+ message (WARNING "Test: ${RTX_IRQ_FILE_PATH} / ${RTX_IRQ_FILE} " )
6262 # Add the IRQ handler file if determined
6363 if (DEFINED RTX_IRQ_FILE AND EXISTS ${RTX_IRQ_FILE_PATH} /${RTX_IRQ_FILE} )
6464 target_sources (mbed-rtos-sources INTERFACE ${RTX_IRQ_FILE_PATH} /${RTX_IRQ_FILE} )
6565 else ()
66- message (WARNING "CMSIS-RTX: No IRQ handler found for this target (labels: ${MBED_TARGET_LABELS} )" )
66+ message (FATAL_ERROR "CMSIS-RTX: No IRQ handler found for this target (labels: ${MBED_TARGET_LABELS} )" )
6767 endif ()
6868endif ()
6969
You can’t perform that action at this time.
0 commit comments