下载ESP32的Micropython固件
官方连接https://www.micropython.org/download/esp32/
看了下描述,上面的是IDF4.x系列编译,下面是IDF3.x系列编译,我们默认选新的
下载安装CP2102驱动
安装ESP Tools
pip install esptool
使用命令行擦写固件:
esptool.py --port com4 erase_flash
出现如下:
使用如下命令烧录固件:
esptool.py --chip esp32 --port com4 write_flash -z 0x1000 .\esp32-20220117-v1.18.bin
烧录完成:
使用Thonny可以看到烧录后的终端及版本信息: