summaryrefslogtreecommitdiff
path: root/scripts/flash.sh
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2018-08-02 17:21:14 +0200
committerYves Fischer <yvesf-git@xapek.org>2018-08-02 17:59:06 +0200
commit74973624deed05d1cc8b297fb1d877cadad50969 (patch)
tree8304000f99a4dc0e0fad263fc9928d8e5ad6366c /scripts/flash.sh
downloadesp8266-74973624deed05d1cc8b297fb1d877cadad50969.tar.gz
esp8266-74973624deed05d1cc8b297fb1d877cadad50969.zip
new commit-history root - cleaned off passwordsHEADmaster
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