You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This move the sample part of the README to the actual sample folder.
This will allow adding more example without bloating the main README
Signed-off-by: Zingo Andersen <Zingo.Andersen@arm.com>
Change-Id: Id8d28cf7cd5eb30949155f324a65d42c065dc6ff
To run you need to point of the path to the installed Corstone™ FVP and you can then use west to build and run. You point out the model PTE file you want to run with -DET_PTE_FILE_PATH= see below.
90
-
91
-
The magic to include and use Ethos-U backend is to set
92
-
CONFIG_ETHOS_U=y/n
93
-
This is done in the example depending on the board you build for so it you build for a different board then the ones below you might want to add a board config file, or add this line to the prj.conf
94
-
95
-
## Corstone™ 300 FVP (Ethos™-U55)
96
-
97
-
### Setup FVP paths
98
-
99
-
Set up FVP paths and macs used, this will also set shutdown_on_eot so the FVP auto stops after it has run the example.
`--delegate` tells the aot_arm_compiler to use Ethos-U backend and `-t ethos-u55-128` specify the used Ethos-U variant and numbers of macs used, this must match you hardware or FVP config.
120
-
121
-
#### Build and run
122
-
123
-
Run the Ethos-U55 PTE model
124
-
<!-- RUN test_ethos-u55_build_and_run -->
125
-
```
126
-
west build -b mps3/corstone300/fvp modules/lib/executorch/zephyr/samples/hello-executorch -t run -- -DET_PTE_FILE_PATH=add_u55_128.pte
`--target=cortex-m55+int8` selects the Cortex-M/CMSIS-NN portable kernel path (no NPU delegation). This produces a `.pte` optimised for Cortex-M55 with INT8 quantisation.
140
-
141
-
#### Build and run
142
-
143
-
Run the Cortex-M55 PTE model
144
-
<!-- RUN test_cortex-m55_build_and_run -->
145
-
```
146
-
west build -b mps3/corstone300/fvp modules/lib/executorch/zephyr/samples/hello-executorch -t run -- -DET_PTE_FILE_PATH=add_m55.pte
147
-
```
148
-
149
-
## Corstone™ 320 FVP (Ethos™-U85)
150
-
151
-
### Setup FVP paths
152
-
153
-
Set up FVP paths, libs and macs used, this will also set shutdown_on_eot so the FVP auto stops after it has run the example.
`--delegate` tells the aot_arm_compiler to use Ethos-U backend and `-t ethos-u85-256` specify the used Ethos-U variant and numbers of macs used, this must match you hardware or FVP config.
175
-
176
-
#### Build and run
177
-
178
-
Run the Ethos-U85 PTE model
179
-
<!-- RUN test_ethos-u85_build_and_run -->
180
-
```
181
-
west build -b mps4/corstone320/fvp modules/lib/executorch/zephyr/samples/hello-executorch -t run -- -DET_PTE_FILE_PATH=add_u85_256.pte
182
-
```
183
-
184
-
## STM Nucleo n657x0_q
185
-
186
-
### Run west config and update:
187
-
188
-
You need to add hal_stm32 driver to Zephyr
189
-
```
190
-
west config manifest.project-filter -- -.*,+zephyr,+executorch,+cmsis,+cmsis_6,+cmsis-nn,+hal_stm32
191
-
west update
192
-
```
193
-
194
-
### Setup tools
195
-
196
-
Follow and make sure tools are setup according to this:
Test the samples/hello_world in that guide to make sure all tools work.
201
-
202
-
Please note that the ZephyrOS made a fix for the signing tool version v2.21.0 after the v4.3 release in 20 Nov 2025. Make sure to use a later version of ZephyrOS that contains it.
203
-
Also note that the signing tool must be in your path for it to auto sign your elf.
0 commit comments