From 09e6eed3250ff3a51f196fad01c024b10e39df3b Mon Sep 17 00:00:00 2001 From: Sudan Landge Date: Thu, 30 Apr 2026 16:37:43 +0100 Subject: [PATCH] zephyr: add module metadata Add zephyr/module.yml to allow CMSIS_6 to be consumed as a Zephyr module. This enables Zephyr to use CMSIS_6 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 Zephyr-specific build logic remains in the Zephyr repository. The metadata only describes how Zephyr should consume this repository as a module and does not affect non-Zephyr users. For more details on Zephyr modules, see: https://docs.zephyrproject.org/latest/develop/modules.html Signed-off-by: Sudan Landge --- zephyr/README.md | 30 ++++++++++++++++++++++++++++++ zephyr/module.yml | 4 ++++ 2 files changed, 34 insertions(+) create mode 100644 zephyr/README.md create mode 100644 zephyr/module.yml diff --git a/zephyr/README.md b/zephyr/README.md new file mode 100644 index 00000000..07ea49b2 --- /dev/null +++ b/zephyr/README.md @@ -0,0 +1,30 @@ +# Zephyr RTOS Integration + +This directory contains metadata to allow CMSIS_6 to be consumed as a +module by the Zephyr RTOS. + +## Purpose + +The files in this directory exist solely to support integration with +Zephyr's build system. They enable Zephyr to include CMSIS_6 as an +external module without requiring any modifications to the CMSIS_6 +source tree. + +## Scope + +- This directory is **only used by Zephyr**. +- It does **not** affect CMSIS_6 functionality or usage outside of Zephyr. +- It is intentionally minimal to avoid introducing any dependencies on + Zephyr within the rest of the CMSIS_6 repository. + +## CMake and Kconfig + +Any references to CMake or Kconfig in this directory are specific to Zephyr's +module integration mechanism. Zephyr-specific build logic is kept outside of +the CMSIS_6. + +## More Information + +For details on Zephyr and its modules, see: +- https://docs.zephyrproject.org/latest/ +- https://docs.zephyrproject.org/latest/develop/modules.html diff --git a/zephyr/module.yml b/zephyr/module.yml new file mode 100644 index 00000000..e9cb3be0 --- /dev/null +++ b/zephyr/module.yml @@ -0,0 +1,4 @@ +name: cmsis_6 +build: + cmake-ext: true + kconfig-ext: true