Skip to content

Instantly share code, notes, and snippets.

@weskerfoot
Last active August 1, 2021 02:36
Show Gist options
  • Save weskerfoot/e563efd2db8eda4fb85c79728a9f6301 to your computer and use it in GitHub Desktop.
Save weskerfoot/e563efd2db8eda4fb85c79728a9f6301 to your computer and use it in GitHub Desktop.
nodemcu-tool reset
esptool.py erase_flash
esptool.py --port /dev/ttyUSB0 write_flash -fm qio 0x00000 nodemcu-release-18-modules-2021-07-11-23-06-19-float.bin
nodemcu-tool upload *.lua
while [[ $? != 0 ]]; do
nodemcu-tool upload *.lua
done
echo 'dofile("init.lua")' | nodemcu-tool terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment