esp8266烧写MicorPython

第一步     在MicorPython官网下载相应的firmware

esp8266烧写MicorPython

esp8266烧写MicorPython


第二步   下载相应的 固件烧录工具   比如nodemcu-flasher
esp8266烧写MicorPython
在config里面设置firmware的路径,烧录的位置 ,位置从芯片的起始地址开始,所以设置为0x0000
esp8266烧写MicorPython

esp8266烧写MicorPython
     在advance的设置里根据芯片flash的大小,设置相应的大小
esp8266烧写MicorPython

esp8266烧写MicorPython
再operation中点击flash等待烧录完成


第三步  测试是否烧录成功
  在烧录完成后  重新启动芯片
使用串口调试工具 发送信息 会根据python返回相应的值   
注意在用串口发送时结束要加换行
esp8266烧写MicorPython

             esp8266烧写MicorPython
也可以通过Putty链接,设置为Serial链接
 esp8266烧写MicorPython
esp8266烧写MicorPython
esp8266烧写MicorPython
一种链接Linux的既视感
4.使用IDE开发或链接
推荐一个IED   uPyCraf 
界面如下
esp8266烧写MicorPython
     在链接的时候Tool ->serial选择对应的串口
在Tool->board选择对应的芯片
点击esp8266烧写MicorPython完成链接
esp8266烧写MicorPython

在workSpare写代码