Skip to content

Commit

Permalink
Update the wording w.r.t. cargo-espflash
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov authored Dec 7, 2023
1 parent 853a7f9 commit d2d1dc4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ Follow the [Prerequisites](https://github.com/esp-rs/esp-idf-template#prerequisi
The examples could be built and flashed conveniently with [`cargo-espflash`](https://github.com/esp-rs/espflash/). To run e.g. `wifi` on an e.g. ESP32-C3:
(Swap the Rust target and example name with the target corresponding for your ESP32 MCU and with the example you would like to build)

with cargo-esptool v1.7:
```
$ ESP_IDF_VERSION=release/v4.4 cargo espflash --target riscv32imc-esp-espidf --example wifi --monitor /dev/ttyUSB0
with `cargo-espflash` V2+:
```sh
$ ESP_IDF_VERSION=release/v4.4 cargo espflash flash --target riscv32imc-esp-espidf --example ledc_simple --monitor
```

with cargo-esptool v2.0:
```
$ ESP_IDF_VERSION=release/v4.4 cargo espflash flash --target riscv32imc-esp-espidf --example wifi --monitor
with older `cargo-espflash`:
```sh
$ ESP_IDF_VERSION=release/v4.4 cargo espflash --target riscv32imc-esp-espidf --example ledc_simple --monitor /dev/ttyUSB0
```

## Setting up a "Hello, world!" binary crate with ESP IDF
Expand Down

0 comments on commit d2d1dc4

Please sign in to comment.