Skip to content

Commit 834e530

Browse files
committed
CMSIS: Restructure ported CMSIS_5
See docs/adr/0001_cmsis_component_source_structure_recommendations.md For details information.
1 parent 5535eee commit 834e530

File tree

107 files changed

+60
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+60
-119
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ matrix:
280280
# Check that example compiles without rtos
281281
- sed -n '/``` cpp/,/```/{/```$/Q;/```/d;p;}' ${EVENTS}/README.md > main.cpp
282282
- |
283-
rm -r rtos/source/TARGET_CORTEX drivers/source/usb connectivity/cellular connectivity/drivers/cellular \
283+
rm -r cmsis/CMSIS_5/CMSIS/RTOS2 cmsis/device/rtos drivers/source/usb connectivity/cellular connectivity/drivers/cellular \
284284
connectivity/libraries/ppp connectivity/netsocket connectivity/nanostack connectivity/lwipstack features/frameworks/greentea-client \
285285
features/frameworks/utest features/frameworks/unity components BUILD
286286
- python tools/make.py -t GCC_ARM -m NUCLEO_F103RB --source=. --build=BUILD/NUCLEO_F103RB/GCC_ARM -j0
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "cmsis-cmsis5-rtos2"
3+
}

cmsis/README.md

Lines changed: 43 additions & 0 deletions
File renamed without changes.
File renamed without changes.

docs/adr/0001_cmsis_component_source_structure_recommendations.md

Lines changed: 12 additions & 117 deletions

platform/source/mbed_sdk_boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
/* This startup is for baremetal. There is no RTOS in baremetal,
2525
* therefore we protect this file with MBED_CONF_RTOS_PRESENT.
26-
* Note: The start-up code for mbed OS is in rtos/source/TARGET_CORTEX/mbed_boot code file.
26+
* Note: The start-up code for mbed OS is in cmsis/device/rtos/TOOLCHAIN_<TOOLCHAIN>/mbed_boot_<TOOLCHAIN>.c code file.
2727
*/
2828
#if !defined(MBED_CONF_RTOS_PRESENT)
2929

0 commit comments

Comments
 (0)