How to program the ESP8266 NodeMCU with Arduino IDE
https://github.com/esp8266/arduino - IDE
nodemcu.com/index_en.html - NodeMCU (verision used)
esptool.py --port /dev/tty.wchusbserial1410 write_flash 0x00000 /Users/calumk/Documents/Arduino/build/HelloServer.cpp_00000.bin 0x40000 /Users/calumk/Documents/Arduino/build/HelloServer.cpp_40000.bin
esptool.py --port /dev/tty.[port] write_flash 0x00000 [file].cpp_00000.bin 0x40000 [file].cpp_40000.bin