Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

espflash

espflash 是为乐鑫 SoC 和模块设计的串口烧录工具,原生支持所有与 esp-hal 兼容的芯片。

安装

要安装 espflash,执行以下命令:

cargo install espflash --locked

也可以使用 cargo-binstall 从发行版本下载预编译的程序并使用:

cargo binstall espflash

Note

espflash 默认使用的波特率是 115200,你可以提高波特率来加快烧录速度。 最简单的方法是设置 ESPFLASH_BAUD 环境变量。