第一步 安装Python
网址:https://www.python.org/
![在这里插入图片描述](https://img-blog.csdnimg.cn/498e4cbd4a754b3baa4782b6a05c816b.jpeg#pic_center)
安装时记住勾选“Add Python.exe to PATH"
第二步 下载 MicroPython固件
https://micropython.org/download/#esp32
![在这里插入图片描述](https://img-blog.csdnimg.cn/164c8918bbba40608fb0e60552c2e69b.jpeg#pic_center)
https://micropython.org/resources/firmware/esp32-20230426-v1.20.0.bin
![在这里插入图片描述](https://img-blog.csdnimg.cn/33632d3c66ef48f08be4c2805dc3aa2d.jpeg#pic_center)
第三步:下载esptool 工具
网址: https://github.com/espressif/esptool/
![在这里插入图片描述](https://img-blog.csdnimg.cn/82d41be3d0864b2cbf57cf6f67cf2a83.jpeg#pic_center)
![在这里插入图片描述](https://img-blog.csdnimg.cn/f7d226ee1cd94790983849eba1624f29.jpeg#pic_center)
或者使用 pip 安装它:
pip install esptool