summaryrefslogtreecommitdiff
path: root/scripts/flash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/flash.sh')
-rwxr-xr-xscripts/flash.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/flash.sh b/scripts/flash.sh
new file mode 100755
index 0000000..cde4473
--- /dev/null
+++ b/scripts/flash.sh
@@ -0,0 +1,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