Pinout

Flash NodeMCU via Esptool

The Wemos D1 Mini Lite can be flashed using esptool by setting the flash mode to dout and allowing the flash size to be auto-detected (1MB):

esptool.py --port /dev/tty.wchusbserialfa120 --baud 115200 write_flash --flash_mode=dout --flash_size=detect 0 nodemcu-float.bin