运行示例
目前刷esp32有两种方式:
flash脚本使用esptool
如果你熟悉 esp 生态系统,flash这个 repo 中有一个脚本,它利用 espressif esptool 通过 USB 闪存 esp32。示例用法:
./flash -p /dev/ttyUSB0 -e blinky --release
货物espflash子命令
使用 cargo 子命令对 esptool 进行 Rust 重写。示例用法:
cargo espflash --example blinky --release /dev/ttyUSB0
更多详情、使用方法,请下载后阅读README.md文件
2022-07-06 19:10:32
130KB
rust