first,download the bin file:
http://micropython.org/resources/firmware/esp8266-20171101-v1.9.3.bin
install esptool use pip:
pip install esptool
use this command to erase flash:
esptool.py--port/dev/ttyUSB0erase_flash
esptool.py--port/dev/ttyUSB0--baud460800write_flash--flash_size=detect0esp8266-20170108-v1.8.7.bin
cant found the esptool.py?
use:
pip show --files esptool
安装arduino的esp8266支持
https://github.com/esp8266/Arduino
git clone https://github.com/esp8266/Arduino.git esp8266
cd esp8266/tools
python get.py
Restart Arduino
如果需要配网的话,用这个源码:
https://github.com/EspressifApp/EsptouchForAndroid
网友评论