ESP32¶
ESP-IDF 开发环境¶
环境变量设置
使用开发环境shell
sudo docker run --rm \
-v ${PWD}:/project -w /project \
--device ${ESP32_PORT}:${ESP32_PORT} \
-it espressif/idf
API docs¶
Micropython¶
烧录micropython固件¶
清除flash
向flash刷入micropython (esp32-20210902-v1.17.bin)
esptool.py --chip esp32 --port /dev/ttyUSB0 \
--baud 460800 write_flash -z 0x1000 \
esp32-20210902-v1.17.bin
rshell¶
安装
连接esp32
复制脚本文件(如main.py)到esp32
获取MicroPython REPL终端
Micropython API docs¶
最后更新:
May 21, 2022