Crate espflash

Source
Expand description

A library and application for flashing Espressif devices over Serial

§As an application

espflash can be installed using cargo install, and additionally supports installation via cargo-binstall:

$ cargo install espflash
$ cargo binstall espflash

§As a library

espflash can also be used as a library:

espflash = { version = "2.1", default-features = false }

We add default-features here to disable the cli feature, which is enabled by default. Its important to note that the cli module does not provide SemVer guarantees. You likely will not need any of these types or functions in your application so there’s no use pulling in the extra dependencies.

Modules§

clicli
Types and functions for the command-line interface
command
Commands to work with a flasher stub running on a target device
connectionserialport
Establish a connection with a target device
elf
ELF (Executable and Linkable Format) file operations
error
Library and application errors
flasher
Write a binary application to a target device
image_format
ESP-IDF application binary image format
loggingcli
Logging utilities
targets
Flashable target devices
updatecli
Check for updates