Board info : NodemMcu V3
-
Clone this repo
-
Create venv + install requirements
-
Find out the connected board name in /dev/tty.
-
Erase flash
esptool.py --port /dev/tty.usbserial-14240 erase_flash
-
Flash new firmware
esptool.py --port /dev/tty.usbserial-14240 --baud 460800 write_flash --flash_size=detect -fm dio 0 esp8266-20190125-v1.10.bin
-
Plug/unplug device
-
Test connection
picocom /dev/tty.usbserial-14240 -b115200 or screen /dev/tty.usbserial-14240 -b115200
- Connect with rshell
rshell -p /dev/tty.usbserial-14240
- Run example(from rshell)
cp /examples/blink /pyboard
repl
import blink