Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 07d2ae1

Browse files
keredsonivmarkov
authored andcommitted
fixed espflash command example
1 parent 84b97e1 commit 07d2ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Highlights:
6262
## Flash
6363

6464
- `cargo install espflash`
65-
- `espflash /dev/ttyUSB0 target/[xtensa-esp32-espidf|xtensa-esp32s2-espidf|riscv32imc-esp-espidf]/debug/rust-esp32-std-demo`
65+
- `espflash flash -p /dev/ttyUSB0 target/[xtensa-esp32-espidf|xtensa-esp32s2-espidf|riscv32imc-esp-espidf]/debug/rust-esp32-std-demo`
6666
- Replace `dev/ttyUSB0` above with the USB port where you've connected the board
6767

6868
**NOTE**: The above commands do use [`espflash`](https://crates.io/crates/espflash) and NOT [`cargo espflash`](https://crates.io/crates/cargo-espflash), even though both can be installed via Cargo. `cargo espflash` is essentially `espflash` but it has some extra superpowers, like the capability to build the project before flashing, or to generate an ESP32 .BIN file from the built .ELF image.

0 commit comments

Comments
 (0)