esp8266

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


esp8266_第1张图片

esptool.py--port/dev/ttyUSB0--baud460800write_flash--flash_size=detect0esp8266-20170108-v1.8.7.bin


esp8266_第2张图片
esp8266_第3张图片


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

你可能感兴趣的:(esp8266)