Skip to content

Commit 2ec0840

Browse files
committed
Cortex-M backend: fix Zephyr hello-executorch CI command
The Zephyr `hello-executorch` README has `<!-- RUN -->` directives that the test-arm-backend-zephyr CI extracts and executes verbatim. The prior wording used `--target=cortex-m55+int8`, which the AOT compiler no longer accepts after the +int8 drop. Update both code blocks (and the surrounding prose) to use the new bare `--target=cortex-m55` spelling. Authored with Claude.
1 parent c7a1278 commit 2ec0840

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

zephyr/samples/hello-executorch/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ west build -b mps3/corstone300/fvp modules/lib/executorch/zephyr/samples/hello-e
5151
Prepare the Cortex-M55 PTE model
5252
<!-- RUN test_cortex-m55_generate_pte -->
5353
```
54-
python -m modules.lib.executorch.backends.arm.scripts.aot_arm_compiler --model_name=modules/lib/executorch/zephyr/samples/hello-executorch/models/add.py --quantize --target=cortex-m55+int8 --output=add_m55.pte
54+
python -m modules.lib.executorch.backends.arm.scripts.aot_arm_compiler --model_name=modules/lib/executorch/zephyr/samples/hello-executorch/models/add.py --quantize --target=cortex-m55 --output=add_m55.pte
5555
```
5656

57-
`--target=cortex-m55+int8` selects the Cortex-M/CMSIS-NN portable kernel path (no NPU delegation). This produces a `.pte` optimized for Cortex-M55 with INT8 quantization.
57+
`--target=cortex-m55` plus `--quantize` selects the Cortex-M/CMSIS-NN portable kernel path (no NPU delegation). This produces a `.pte` optimized for Cortex-M55 with INT8 quantization.
5858

5959

6060
#### Build and run
@@ -129,10 +129,10 @@ export PATH=$PATH:~/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin
129129

130130
Prepare the Cortex-M55 PTE model
131131
```
132-
python -m modules.lib.executorch.backends.arm.scripts.aot_arm_compiler --model_name=modules/lib/executorch/zephyr/samples/hello-executorch/models/add.py --quantize --target=cortex-m55+int8 --output=add_m55.pte
132+
python -m modules.lib.executorch.backends.arm.scripts.aot_arm_compiler --model_name=modules/lib/executorch/zephyr/samples/hello-executorch/models/add.py --quantize --target=cortex-m55 --output=add_m55.pte
133133
```
134134

135-
`--target=cortex-m55+int8` selects the Cortex-M/CMSIS-NN portable kernel path (no NPU delegation). This produces a `.pte` optimized for Cortex-M55 with INT8 quantization.
135+
`--target=cortex-m55` plus `--quantize` selects the Cortex-M/CMSIS-NN portable kernel path (no NPU delegation). This produces a `.pte` optimized for Cortex-M55 with INT8 quantization.
136136

137137
#### Build and run
138138

0 commit comments

Comments
 (0)