下载MicroPython固件到本地,这里使用1.10版本。
下载地址:https://micropython.org/resources/firmware/esp32-20190125-v1.10.bin
wget <https://micropython.org/resources/firmware/esp32-20190125-v1.10.bin>
ESP32需要使用esptool.py来烧录固件,使用以下命令安装(需要先安装python-pip)。
pip install esptool
更多esptool.py信息可以参考https://github.com/espressif/esptool/。
将ESP32开发板使用USB连接电脑,并在电脑上安装CP2102驱动程序。
寻找驱动: