Skip to content

Commit 570b892

Browse files
committed
add instructions to flash single binary image
1 parent 845b1d0 commit 570b892

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ popd
8282

8383
### Merging all applications
8484

85-
Following command merges all applications into UF2 format:
85+
The following command merges all applications into UF2 format:
8686

87-
```
87+
```shell
8888
esptool.py --chip esp32s3 merge_bin --format uf2 -o build/uf2.bin --flash_mode dio --flash_size 16MB \
8989
0x10000 build/esp32-graphical-bootloader.bin \
9090
0x220000 apps/tic_tac_toe/build/tic_tac_toe.bin \
@@ -94,6 +94,25 @@ esptool.py --chip esp32s3 merge_bin --format uf2 -o build/uf2.bin --flash_mode d
9494
0xD20000 apps/game_of_life/build/game_of_life.bin
9595
```
9696

97+
The following command merges all applications into binary image format:
98+
```shell
99+
esptool.py --chip esp32s3 merge_bin -o build/all.bin --flash_mode dio --flash_size 16MB \ 0x0 build/bootloader/bootloader.bin \
100+
0x8000 build/partition_table/partition-table.bin \
101+
0xf000 build/ota_data_initial.bin \
102+
0x20000 build/esp32-graphical-bootloader.bin \
103+
0x220000 apps/tic_tac_toe/build/tic_tac_toe.bin \
104+
0x4E0000 apps/wifi_list/build/wifi_list.bin \
105+
0x7A0000 apps/calculator/build/calculator.bin \
106+
0xA60000 apps/synth_piano/build/synth_piano.bin \
107+
0xD20000 apps/game_of_life/build/game_of_life.bin
108+
```
109+
110+
The single binary can be flashed by command:
111+
112+
```shell
113+
esptool.py --chip esp32s3 --baud 921600 write_flash 0x0000 build/all.bin
114+
```
115+
97116
## Build
98117

99118
Initial build and flash of the application and partition table.

0 commit comments

Comments
 (0)