summaryrefslogtreecommitdiff
path: root/scripts/flash.sh
blob: cde447347231f0f10458d6b4f0b19e930bb1e718 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

HERE=$(dirname "$0")

#"$HERE"/esptool.py --port $1 write_flash --flash_size=detect 0 "$HERE"/esp8266-20171101-v1.9.3.bin
#"$HERE"/esptool.py --port $1 write_flash --flash_size=detect 0 "$HERE"/esp8266-20180511-v1.9.4.bin
set -x


"$HERE"/esptool.py --port $1 write_flash --flash_size=detect 0 "$HERE"/esp8266-20180511-v1.9.4.bin