fix #27 - add a device-install.sh script to the release

This commit is contained in:
geeksville
2020-03-24 14:48:52 -07:00
parent 3a756b0e08
commit f4d368e1f4
4 changed files with 65 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
set -e
FILENAME=$1
echo "Trying to flash $FILENAME, but first erasing and writing system information"
esptool.py --baud 921600 erase_flash
esptool.py --baud 921600 write_flash 0x1000 system-info.bin
esptool.py --baud 921600 write_flash 0x10000 $FILENAME