esp32烧录micropython
下载esptool (已安装完成python环境),pip install esptool
下载micropython的bin文件,路径为:MicroPython - Python for microcontrollers
先清除固件上的flash,使用usb数据线连接主板,然后在设备管理器中查看主板的端口
esptool --chip esp32 --port COM3 erase_flash
固件烧录
esptool.py --chip esp32 --port COM3 --baud 115200 write_flash -z 0x1000 D:\Tools\MicroPython\esp32-20220618-v1.19.1.bin

安装ThonnyIDE,micropython的编辑器