Reflashing NodeMCU devkit v2.0 on OS X

NodeMCU v2.0

This took me a long time to find between the different NodeMCU devkit versions, nodemcu's Delphi(??) windows-only flashing tool, some kind of competing python thing that comes in a .rar file but might not be windows-only anymore and doesn't work anyway, people writing Arduino firmware to the ESP8266, and the fact that the main communication medium in 2015 for this sort of thing is somehow still web forums.

So here it is. Download esptool and find nodemcu_float_0.9.6-dev_20150704.bin

./esptool.py --port /dev/tty.SLAB_USBtoUART write_flash \
    -fm dio -fs 32m 0x00000 nodemcu_float_0.9.6-dev_20150704.bin

Written by Ian Kilgore in misc on Mon 27 July 2015. Tags: NodeMCU, lua, ESP8266, hardware,