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§
- cli
cli
- Types and functions for the command-line interface
- command
- Commands to work with a flasher stub running on a target device
- connection
serialport
- 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
- logging
cli
- Logging utilities
- targets
- Flashable target devices
- update
cli
- Check for updates