Skip to content

Commit ba14587

Browse files
Fix readmes links (#805)
* docs: Add missing link * docs: Fix links * docs: Update docstrings * docs: fix typo Co-authored-by: Jesse Braham <[email protected]> * docs: Update docstrings * docs: Udpate usage --------- Co-authored-by: Jesse Braham <[email protected]>
1 parent b7d9849 commit ba14587

File tree

6 files changed

+15
-13
lines changed

6 files changed

+15
-13
lines changed

cargo-espflash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cargo-espflash"
33
version = "4.0.0-dev"
44
edition = "2021"
55
rust-version = "1.82"
6-
description = "Cargo subcommand for flashing Espressif devices"
6+
description = "Cargo subcommand for interacting with Espressif devices"
77
repository = "https://github.com/esp-rs/espflash"
88
license = "MIT OR Apache-2.0"
99

cargo-espflash/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ OPENSSL_NO_VENDOR=1 cargo install cargo-espflash
5252
## Usage
5353

5454
```text
55-
Cargo subcommand for flashing Espressif devices
55+
Cargo subcommand for interacting with Espressif devices
5656
5757
Usage: cargo espflash [OPTIONS] <COMMAND>
5858
@@ -65,7 +65,7 @@ Commands:
6565
erase-region Erase specified region
6666
flash Flash an application in ELF format to a target device
6767
hold-in-reset Hold the target device in reset
68-
list-ports List serial ports available for flashing
68+
list-ports List available serial ports
6969
monitor Open the serial monitor without flashing the connected target device
7070
partition-table Convert partition tables between CSV and binary format
7171
read-flash Read SPI flash content
@@ -176,8 +176,9 @@ You can have a local and/or a global configuration file:
176176
- See [`defmt` section] of `esp-println` readme.
177177
- For a detailed guide on how to use `defmt` in the `no_std` ecosystem, see [`defmt` project] of Embedded Rust (no_std) on Espressif book.
178178

179-
[`defmt` section]: https://github.com/esp-rs/esp-println?tab=readme-ov-file#defmt
180-
[`defmt` project]: https://esp-rs.github.io/no_std-training/03_6_defmt.html
179+
[`defmt`]: https://defmt.ferrous-systems.com/
180+
[`defmt` section]: https://github.com/esp-rs/esp-hal/tree/main/esp-println#defmt
181+
[`defmt` project]: https://docs.esp-rs.org/no_std-training/03_7_defmt.html
181182

182183
## License
183184

cargo-espflash/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ enum Commands {
8888
Flash(FlashArgs),
8989
/// Hold the target device in reset
9090
HoldInReset(ConnectArgs),
91-
/// List serial ports available for flashing.
91+
/// List available serial ports.
9292
///
9393
/// The default behavior is to only list ports of devices known to be used
9494
/// on development boards.

espflash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "espflash"
33
version = "4.0.0-dev"
44
edition = "2021"
55
rust-version = "1.82"
6-
description = "A command-line tool for flashing Espressif devices"
6+
description = "A command-line tool for interacting with Espressif devices"
77
repository = "https://github.com/esp-rs/espflash"
88
license = "MIT OR Apache-2.0"
99
keywords = ["cli", "embedded", "esp"]

espflash/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ cargo binstall espflash
4747
## Usage
4848

4949
```text
50-
A command-line tool for flashing Espressif devices
50+
A command-line tool for interacting with Espressif devices
5151
5252
Usage: espflash [OPTIONS] <COMMAND>
5353
@@ -60,7 +60,7 @@ Commands:
6060
erase-region Erase specified region
6161
flash Flash an application in ELF format to a connected target device
6262
hold-in-reset Hold the target device in reset
63-
list-ports List serial ports available for flashing
63+
list-ports List available serial ports
6464
monitor Open the serial monitor without flashing the connected target device
6565
partition-table Convert partition tables between CSV and binary format
6666
read-flash Read SPI flash content
@@ -120,7 +120,7 @@ With this configuration you can flash and monitor you application using `cargo r
120120
`espflash` can be used as a library in other applications:
121121

122122
```toml
123-
espflash = { version = "2.1", default-features = false }
123+
espflash = { version = "3.3", default-features = false }
124124
```
125125

126126
or `cargo add espflash --no-default-features`
@@ -189,8 +189,9 @@ You can have a local and/or a global configuration file:
189189
- See [`defmt` section] of `esp-println` readme.
190190
- For a detailed guide on how to use `defmt` in the `no_std` ecosystem, see [`defmt` project] of Embedded Rust (no_std) on Espressif book.
191191

192-
[`defmt` section]: https://github.com/esp-rs/esp-println?tab=readme-ov-file#defmt
193-
[`defmt` project]: https://esp-rs.github.io/no_std-training/03_6_defmt.html
192+
[`defmt`]: https://defmt.ferrous-systems.com/
193+
[`defmt` section]: https://github.com/esp-rs/esp-hal/tree/main/esp-println#defmt
194+
[`defmt` project]: https://docs.esp-rs.org/no_std-training/03_7_defmt.html
194195

195196
## License
196197

espflash/src/bin/espflash.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ enum Commands {
5959
Flash(FlashArgs),
6060
/// Hold the target device in reset
6161
HoldInReset(ConnectArgs),
62-
/// List serial ports available for flashing.
62+
/// List available serial ports.
6363
///
6464
/// The default behavior is to only list ports of devices known to be used
6565
/// on development boards.

0 commit comments

Comments
 (0)