Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/basic_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ jobs:
-
name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive # fetch submodules
Comment on lines +247 to +248
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allow submodules for the basic_checks tests


- name: Install python3-venv
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/greentea_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive # fetch submodules

- name: Verify submodules present
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git submodule status
test -f cmsis/CMSIS-RTX/Config/RTX_Config.h
test -f cmsis/CMSIS_6/CMSIS/Core/Include/cmsis_version.h
Comment on lines +130 to +138
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allow submodules for the GT with verification

- name: Install python3-venv
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/test_building_multiple_executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive # fetch submodules

- name: Verify submodules present
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git submodule status
test -f cmsis/CMSIS-RTX/Config/RTX_Config.h
test -f cmsis/CMSIS_6/CMSIS/Core/Include/cmsis_version.h

- name: Install Python packages
# Note: pip>=20.3 is needed to install dependencies of cysecuretools
Expand Down
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[submodule "cmsis/CMSIS_6"]
path = cmsis/CMSIS_6
url = https://github.com/ARM-software/CMSIS_6

[submodule "cmsis/CMSIS-RTX"]
path = cmsis/CMSIS-RTX
url = https://github.com/ARM-software/CMSIS-RTX

[submodule "doxygen-awesome-css"]
path = tools/doxygen-awesome-css
url = https://github.com/jothepro/doxygen-awesome-css.git
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ if(NOT MBED_IS_NATIVE_BUILD)
# Disable any requested files from the targets/ directory.
mbed_apply_mcu_target_file_disables()
endif()

add_subdirectory(cmsis)
add_subdirectory(drivers)
add_subdirectory(hal)
Expand All @@ -295,7 +295,7 @@ add_subdirectory(connectivity)
# The directories below contain optional target libraries
add_subdirectory(drivers/device_key EXCLUDE_FROM_ALL)
add_subdirectory(features EXCLUDE_FROM_ALL)
add_subdirectory(cmsis/CMSIS_5/CMSIS/RTOS2 EXCLUDE_FROM_ALL)
add_subdirectory(cmsis/CMSIS_cmake EXCLUDE_FROM_ALL)
add_subdirectory(cmsis/device/rtos EXCLUDE_FROM_ALL)

# Create top-level targets ----------------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions cmsis/CMSIS-RTX
Submodule CMSIS-RTX added at ad98f9
5 changes: 0 additions & 5 deletions cmsis/CMSIS_5/CMSIS/CMakeLists.txt

This file was deleted.

16 changes: 0 additions & 16 deletions cmsis/CMSIS_5/CMSIS/RTOS2/CMakeLists.txt

This file was deleted.

Loading