Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 331 Bytes
#!/bin/bash
FIRMWARE_NAME=konnected-firmware-2-2-5.bin
FILESYSTEM_NAME=konnected-filesystem-0xf0000-2-2-5.img
PORT=/dev/cu.wchusbserial1410
esptool.py --port=${PORT} write_flash --flash_mode dio 0x00000 firmware/${FIRMWARE_NAME}
esptool.py --port=${PORT} write_flash --flash_mode dio 0xf0000 firmware/${FILESYSTEM_NAME}
tput bel