initial
This commit is contained in:
17
bin/flash
Executable file
17
bin/flash
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
BASENAME=${1%.bin};
|
||||
|
||||
esptool.py \
|
||||
-b 921600 \
|
||||
--chip esp32 \
|
||||
--before default_reset \
|
||||
--after hard_reset \
|
||||
write_flash \
|
||||
-z \
|
||||
--flash_mode dio \
|
||||
--flash_freq 80m \
|
||||
--flash_size detect \
|
||||
0x10000 $BASENAME.bin \
|
||||
0x8000 $BASENAME.partitions.bin \
|
||||
0xe000 bin/boot_app0.bin \
|
||||
0x1000 bin/bootloader_qio_80m.bin
|
Reference in New Issue
Block a user