When NodeMCU runs into infinite loops, this tool help you remove init.lua to stop NodeMCU from being a brick.
Clone from GitHub
$ git clone git@github.com:KuangLei/NodeMCU-RemoveInit.git
or just download "RemoveInit.sh".
./RemoveInit.sh -e <esptool.py> -p <port>
The -e
option specify the way to run esptool.py. If you install esptool though pip, just enter esptool.py
. If you clone esptool to somewhere, just enter the place like /home/klsz/Documents/esptool/esptool.py
.
The -p
option specity the port of NodeMCU, for example /dev/ttyUSB0
.
Please see CONTRIBUTING.md.
Thanks.