Skip to content

Commit

Permalink
update flash script
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisisnate committed Aug 5, 2019
1 parent 93d94d1 commit 8d99bfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/flash
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

FIRMWARE_NAME=konnected-firmware-2-3-0.bin
FILESYSTEM_NAME=konnected-filesystem-0x100000-2-3-0-beta6.img
FILESYSTEM_NAME=konnected-filesystem-0x100000-2-3-0.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 0x00000 firmware/${FIRMWARE_NAME}
esptool.py --port=${PORT} write_flash --flash_mode dio 0x100000 firmware/${FILESYSTEM_NAME}

tput bel

0 comments on commit 8d99bfe

Please sign in to comment.