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 = "4.0.0", default-features = false }

We add default-features here to disable the cli feature, which is enabled by default. It’s 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§

command
Commands to work with a flasher stub running on a target device
connectionserialport
Establish a connection with a target device.
flasher
Write a binary application to a target device
image_format
Binary application image formats
target
Flashable target devices

Enums§

Error
All possible errors returned by espflash