Add Zephyr module metadata#295
Conversation
|
Wouldn't it be better if the KConfig and CMakeLists.txt were inside the zephyr folder ? With the current zephyr folder, one can use this repo directly as a module but it would still rely on the cmake and kconfig inside Zephyr that may not be up to date with the latest version of this repository. |
Hi @christophe0606 , Thanks. |
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 <sudan.landge@arm.com>
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 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