Python,IOT,C

MicroPython移植记之002_上手试玩

中午吃完饭,迫不及待,上手ESP8266开发板,加上自己喜欢的python。于是,开始搞起。

0x00.Ready...

  1. python2.7 on pc or mac.
  2. usb线
  3. ESP8266开发板

0x01.上MicroPython官网下载bin文件,地址:http://micropython.org/download/#esp8266

0x02.安装固件烧写工具:pip install esptool


0x03.USB连上开发板,上电

0x04.烧写固件:

  1. 擦除flash:

    esptool.py --port {"serial port"} erase_flash

  1. 烧写固件:
    esptool.py --port {"serial port"} --baud 460800 write_flash --flash_size=8m 0 {" firmware bin file..."}

0x05.Putty连接设备.enjoy!

ps:搞机指南:http://docs.micropython.org/en/latest/pyboard/

This is just a placeholder img.