From 9f2646ba030cf1506ff9b1ba55981f5c447497b0 Mon Sep 17 00:00:00 2001 From: Nicolas Derive Date: Fri, 22 May 2020 12:53:54 +0200 Subject: [PATCH] writeflash is actually write_flash in esptool.py --- README.md | 2 +- bin/device-update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5fa2c871..fbf6ab42 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Hard resetting via RTS pin... 7. To update run `device-update.sh firmware-_board_-_country_.bin` - Example: `./device-update.sh firmware-HELTEC-US-0.0.3.bin`. -Note: If you have previously installed meshtastic, you don't need to run this full script instead just run "esptool.py --baud 921600 write*flash 0x10000 firmware-\_board*-_country_.bin". This will be faster, also all of your current preferences will be preserved. +Note: If you have previously installed meshtastic, you don't need to run this full script instead just run `esptool.py --baud 921600 write_flash 0x10000 firmware-_board_-_country_-_version_.bin`. This will be faster, also all of your current preferences will be preserved. You should see something like this: diff --git a/bin/device-update.sh b/bin/device-update.sh index b8a8dcf9..ecfee105 100755 --- a/bin/device-update.sh +++ b/bin/device-update.sh @@ -5,4 +5,4 @@ set -e FILENAME=$1 echo "Trying to update $FILENAME" -esptool.py --baud 921600 writeflash 0x10000 $FILENAME +esptool.py --baud 921600 write_flash 0x10000 $FILENAME