Commit e8ca5c3
PAL File for Arm Zephyr Executor Runner (#12348)
### Summary
Platform file for building Zephyr applications that use Executorch as a
module. This is a simplified version of the file used in a Zephyr
development branch
[here](https://github.com/BujSet/zephyr/blob/executorch-module-integration/samples/modules/executorch/arm/hello_world/src/arm_zephyr_pal.hpp).
In the future, it may be prudent to have a PAL file for arm bare metal
(I imagine this would require a simple splicing of he PAL functions from
the `arm_executor_runner.cpp` file). Leaving that task for a separate
PR.
### Test plan
Tested against the `arm_executor_runner.cpp` that is used in the
[Arm-EthosU
tutorial](https://docs.pytorch.org/executorch/main/tutorial-arm-ethos-u.html).
Was able to successfully build the Arm Executor Runner, and run the
simple add model.1 parent 776c789 commit e8ca5c3
1 file changed
+47
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments