Skip to content

Commit b2dfbe1

Browse files
authored
Add Zephyr module metadata (#295)
Add zephyr/module.yml to allow CMSIS v6 to be consumed as a Zephyr module. This enables Zephyr to use CMSIS-Core directly from upstream without requiring downstream changes in this repository, allowing straightforward synchronization with future updates (e.g. via standard GitHub fork sync workflows). Use external CMake and Kconfig integration so that all Zephyr-specific build logic remains in the Zephyr repository. This keeps CMSIS_6 independent of any particular build system and preserves portability for non-Zephyr users. The change is minimal and does not affect existing CMSIS_6 users or workflows. For more details on Zephyr modules, see: https://docs.zephyrproject.org/latest/develop/modules.html Signed-off-by: Sudan Landge <sudan.landge@arm.com>
1 parent 40d08f0 commit b2dfbe1

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

zephyr/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Zephyr RTOS Integration
2+
3+
This directory contains metadata to allow CMSIS_6 to be consumed as a
4+
module by the Zephyr RTOS.
5+
6+
## Purpose
7+
8+
The files in this directory exist solely to support integration with
9+
Zephyr's build system. They enable Zephyr to include CMSIS_6 as an
10+
external module without requiring any modifications to the CMSIS_6
11+
source tree.
12+
13+
## Scope
14+
15+
- This directory is **only used by Zephyr**.
16+
- It does **not** affect CMSIS_6 functionality or usage outside of Zephyr.
17+
- It is intentionally minimal to avoid introducing any dependencies on
18+
Zephyr within the rest of the CMSIS_6 repository.
19+
20+
## CMake and Kconfig
21+
22+
Any references to CMake or Kconfig in this directory are specific to Zephyr's
23+
module integration mechanism. Zephyr-specific build logic is kept outside of
24+
the CMSIS_6.
25+
26+
## More Information
27+
28+
For details on Zephyr and its modules, see:
29+
- https://docs.zephyrproject.org/latest/
30+
- https://docs.zephyrproject.org/latest/develop/modules.html

zephyr/module.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: cmsis_6
2+
build:
3+
cmake-ext: true
4+
kconfig-ext: true

0 commit comments

Comments
 (0)