forked from sle118/squeezelite-esp32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flash_cmd.txt
18 lines (14 loc) · 861 Bytes
/
flash_cmd.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
====LINUX====
To flash sequeezelite run the following script:
./writeSequeezeEsp.sh [PORT_HERE] [BAUD_RATE]
e.g. ./writeSequeezeEsp.sh /dev/ttyUSB0 115200
====WINDOWS====
To flash sequeezelite run the following script:
./writeSequeezeEsp.bat [PORT_HERE] [BAUD_RATE]
e.g. ./writeSequeezeEsp.bat COM11 115200
If you don't know how to run the BAT file with arguments then you can
edit the bat file in Notepad. Open the file up and edit the following:
Change 'set port=%1' to 'set port=[PORT_HERE]'. E.g. 'set port=COM11'
Change 'set baud=%2' to 'set baud=[BAUD_RATE]'. E.g. 'set baud=115200'
====MANUAL====
Python esptool.py --port [PORT_HERE] --baud [BAUD_RATE] write_flash --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 bootloader/bootloader.bin 0x8000 partitions.bin 0xd000 ota_data_initial.bin 0x10000 recovery.bin 0x150000 squeezelite.bin