Skip to content

Commit 682aaf0

Browse files
committed
Added in commands to run simple add model zephyr test
1 parent 4bde1e3 commit 682aaf0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/trunk.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,28 @@ jobs:
7676
install_executorch "--use-pt-pinned-commit"
7777
.ci/scripts/setup-arm-baremetal-tools.sh --target-toolchain zephyr
7878
source examples/arm/ethos-u-scratch/setup_path.sh
79+
80+
cd ../
81+
rm -rf executorch/
82+
git clone https://github.com/BujSet/zephyr.git
83+
cd zephyr/
84+
git switch -c executorch-module-integration origin/executorch-module-integration
85+
python3 -m pip install --upgrade pip
86+
python3 -m pip install --upgrade cmake==3.31.6
87+
python3 -m pip install west torch numpy
88+
python3 -m pip install -r scripts/requirements.txt
89+
cd ../
90+
west init -l zephyr
91+
west config manifest.project-filter -- +executorch
92+
west -v update
93+
source zephyr/zephyr-env.sh
94+
cd modules/lib/executorch
95+
./install_executorch.sh
96+
./examples/arm/setup.sh --i-agree-to-the-contained-eula --target-toolchain zephyr
97+
source examples/arm/ethos-u-scratch/setup_path.sh
98+
cd ../../../zephyr/samples/modules/executorch/arm/hello_world
99+
west build -p always -b mps3/corstone300/fvp
100+
FVP_Corstone_SSE-300_Ethos-U55 -a build/zephyr/zephyr.elf -C mps3_board.visualisation.disable-visualisation=1 -C mps3_board.telnetterminal0.start_telnet=0 -C mps3_board.uart0.out_file='sim.out' -C cpu0.CFGITCMSZ=15 -C cpu0.CFGDTCMSZ=15 --simlimit 60
79101
pwd
80102
ls
81103

0 commit comments

Comments
 (0)