Skip to content

Commit 1018fdf

Browse files
author
Jan Kamidra
committed
Update for submodule_management
1 parent 941fb94 commit 1018fdf

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

cmsis/CMSIS_

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 6f0a58d01aa9bd2feba212097f9afe7acd991d52

cmsis/CMSIS_cmake/cmsis_core.cmake

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@
3030
# Path: CMSIS_6/CMSIS/Core
3131

3232

33-
# Submodule presence
34-
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/../CMSIS_6/CMSIS/Core/Include)
35-
message(FATAL_ERROR "CMSIS_6 submodule directory not found!")
36-
endif()
33+
# Manage CMSIS_6 submodule
34+
mbed_setup_submodule(../CMSIS_6 CHECK_FILE CMSIS/Core/Include/cmsis_gcc.h)
35+
3736
message(STATUS "CMSIS-Core 6.1.1")
3837

3938
# Add CMSIS-Core base include directories

cmsis/CMSIS_cmake/cmsis_rtos_rtx.cmake

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@
2626
# Components used: CMSIS-RTX 5.9.0
2727
# Path: /CMSIS-RTX
2828

29-
# Submodule presence
30-
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/../CMSIS-RTX/Include)
31-
message(FATAL_ERROR "CMSIS-RTX submodule directory not found!")
32-
endif()
29+
# Manage CMSIS-RTX submodule
30+
mbed_setup_submodule(../CMSIS-RTX CHECK_FILE Include/rtx_os.h)
31+
3332
message(STATUS "CMSIS-RTX 5.9.0")
3433

3534
# Add toolchain-specific interrupt handlers based on core type

cmsis/XCMSIS-RTX

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit ad98f97df50191d765ec8456b66784bd30bcab7e

0 commit comments

Comments
 (0)