Skip to content

Commit f4cd4a3

Browse files
BujSetTanish2101
authored andcommitted
Supporting Zephyr with Executorch as a Module (pytorch#12174)
### Summary This added directory structure is recommended to allow Executorch to formally be built as a module for a Zephyr project. Please see the add `zephyr/README.md` for more details.
1 parent 6fbb959 commit f4cd4a3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

zephyr/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# module.yml
2+
3+
Do not remove this file. As mentioned in the official Zephyr [documenation](https://docs.zephyrproject.org/latest/develop/modules.html), for Executorch to be built as Zephyr module, the file `zephyr/module.yml` must exist at the top level directory in the project.
4+
5+
# Work In Progress
6+
7+
We are currently working on request to the Zephyr project to formally support Executorch as a module. This will include an example of running executor runners on the Arm FVP, targetting the Zephyr RTOS. Once implemented, on executorch releases, the manifest in the Zephyr repo will need to be updated to point to the latest release of Executorch. More instructions on that will follow once the executorch module change is accepted into the Zephyr project.

zephyr/module.yml

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

0 commit comments

Comments
 (0)