CH340G USB to UART driver.(for D1 mini or D1)
CP2104 USB to UART driver.(for D1 mini Pro)
Installing Hardware package
Install Arduino 1.6.7 from the Arduino website.
Clone repository into Sketchbook_directory/hardware/esp8266com/esp8266 directory (or clone it elsewhere and create a symlink), you may need to create the hardware directory if it does not exist.
You should end up with the following directory structure:
Download binary tools
Restart the Arduino IDE
To get the latest version anytime, in Sketchbook_directory/hardware/esp8266com/esp8266 simply run
After install hardware package, you will see WeMos boards in the Tools→Board:xxx
Choose your own board.
Upload Using: Serial – Use USB port on board to upload flash OTA – Use OTA to upload flash CPU Frequency: 80MHz 160MHz Flash Size: 4M (3M SPIFFS) – 3M File system size 4M (1M SPIFFS) – 1M File system size Upload Speed: 921600 bps – recommend