Skip to content

Commit 208d337

Browse files
update README: fix flash loader instruction
1 parent c3f7014 commit 208d337

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,28 @@ associated variant will be updated.
180180

181181
### Flash the Loader
182182

183-
If the board is fully supported by Zephyr, you can flash the firmware directly onto the board using the following command:
183+
To flash the loader, run:
184+
185+
```bash
186+
west flash -d build/<variant-name>
187+
```
188+
189+
The `<variant-name>` appears in the build output when you run the build script. For example:
190+
184191
```bash
185-
west flash
192+
% ./extra/build.sh portentah7
193+
194+
Build target: [email protected]//m7
195+
Build variant: arduino_portenta_h7_stm32h747xx_m7
196+
-- west build: generating a build system
197+
...
186198
```
199+
200+
In this case, you would flash with:
201+
```bash
202+
west flash -d build/arduino_portenta_h7_stm32h747xx_m7
203+
```
204+
187205
This can also be performed via the "Burn bootloader" action in the IDE if the core is properly installed, as detailed below.
188206

189207
### Using the Core in Arduino IDE/CLI

0 commit comments

Comments
 (0)