Available on crate feature
cli
only.Expand description
Types and functions for the command-line interface
The contents of this module are intended for use with the cargo-espflash and espflash command-line applications, and are likely not of much use otherwise.
Important note: The cli module DOES NOT provide SemVer guarantees,
feel free to opt-out by disabling the default cli
feature.
Modules§
- Command-line interface configuration
- Serial monitor utility
Structs§
- Generate completions for the given shell
- Establish a connection with a target device
- Erase entire flash of target device
- Erase specified region of flash
- Progress callback implementations for use in
cargo-espflash
andespflash
- Flash an application to a target device
- Configure communication with the target device’s flash
- Open the serial monitor without flashing
- Operations for partitions tables
- Reads the content of flash memory and saves it to a file
- Save the image to disk instead of flashing to device
Functions§
- Connect to a target device and print information about its chip
- Connect to a target device and calculate the checksum of the given region
- Generate shell completions for the given shell
- Select a serial port and establish a connection with a target device
- Erase one or more partitions by label or DataType
- Write an ELF image to a target device’s flash
- Parses chip revision from string to major * 100 + minor format
- Parses a string as a 32-bit unsigned integer.
- Convert and display CSV and binary partition tables
- Print information about a chip
- Read flash content and write it to a file
- Convert the provided firmware image from ELF to binary
- Open a serial monitor