writeflash is actually write_flash in esptool.py

1.2-legacy
Nicolas Derive 2020-05-22 12:53:54 +02:00
rodzic 1897d4703c
commit 9f2646ba03
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -92,7 +92,7 @@ Hard resetting via RTS pin...
7. To update run `device-update.sh firmware-_board_-_country_.bin` 7. To update run `device-update.sh firmware-_board_-_country_.bin`
- Example: `./device-update.sh firmware-HELTEC-US-0.0.3.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: You should see something like this:

Wyświetl plik

@ -5,4 +5,4 @@ set -e
FILENAME=$1 FILENAME=$1
echo "Trying to update $FILENAME" echo "Trying to update $FILENAME"
esptool.py --baud 921600 writeflash 0x10000 $FILENAME esptool.py --baud 921600 write_flash 0x10000 $FILENAME