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
Arm backend: Add Zephyr Cortex-M STM Nucleo n657x0_q example
Moves the Ethos-U driver config to Corstone FVPs board files.
This enable smoother building different targets that will enable
or not enable the Ethos-U drivers/backend depending on board.
This makes it possible to build the example both for Ethos-U and
Cortex-M only targets without change.
Signed-off-by: Zingo Andersen <Zingo.Andersen@arm.com>
Change-Id: I9a7092b3480b479111249f4d101c6f787e3923ed
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
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
91
94
92
95
## Corstone™ 300 FVP (Ethos™-U55)
93
96
@@ -176,6 +179,47 @@ Run the Ethos-U85 PTE model
176
179
west build -b mps4/corstone320/fvp modules/lib/executorch/examples/arm/zephyr -t run -- -DET_PTE_FILE_PATH=add_u85_256.pte
177
180
```
178
181
182
+
## STM Nucleo n657x0_q
183
+
184
+
### Run west config and update:
185
+
186
+
You need to add hal_stm32 driver to Zephyr
187
+
```
188
+
west config manifest.project-filter -- -.*,+zephyr,+executorch,+cmsis,+cmsis_6,+cmsis-nn,+hal_stm32
189
+
west update
190
+
```
191
+
192
+
### Setup tools
193
+
194
+
Follow and make sure tools are setup according to this:
Test the samples/hello_world in that guide to make sure all tools work.
199
+
200
+
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.
201
+
Also note that the signing tool must be in your path for it to auto sign your elf.
0 commit comments