espflash
espflash is a serial flasher utility designed for Espressif SoCs and modules. It natively supports all chips compatible with esp-hal.
Installation
To install espflash, execute the following command:
cargo install espflash --locked
Alternatively, you can use cargo-binstall to download pre-compiled artifacts from the releases and use them instead:
cargo binstall espflash
Note
The default baudrate used by
espflashis 115200 - you might want to increase it to make flashing faster. The easiest way to do that is setting theESPFLASH_BAUDenvironment variable.