Skip to content

Commit 41b1dab

Browse files
authored
doc: use espflash
1 parent b43fc3c commit 41b1dab

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ Build application (e.g. hello_world):
3030
idf.py build
3131
```
3232

33-
Flash applications to ota_0:
33+
Flash applications to ota_0 using [espflash](https://github.com/esp-rs/espflash/blob/main/espflash/README.md#installation):
34+
```
35+
espflash write-bin 0xD20000 .\build\app.bin
36+
```
37+
38+
Alternatively using `esptool.py`:
3439
```
3540
esptool.py --chip esp32s3 --baud 921600 --before default_reset --after hard_reset write_flash 0xD20000 build/hello_world.bin
3641
```
@@ -63,4 +68,4 @@ if (factory_partition != NULL) {
6368
fflush(stdout);
6469
printf("Restarting now.\n");
6570
esp_restart();
66-
```
71+
```

0 commit comments

Comments
 (0)