Skip to content

Commit 59a35d6

Browse files
Update dependencies section: libudev (#605)
* Update dependencies section: libudev * Fix for reviews Co-authored-by: Sergio Gasquez Arcos <[email protected]> --------- Co-authored-by: Sergio Gasquez Arcos <[email protected]>
1 parent 8353080 commit 59a35d6

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

cargo-espflash/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@ Supports the **ESP32**, **ESP32-C2/C3/C6**, **ESP32-H2**, **ESP32-P4**, and **ES
2727

2828
If you are installing `cargo-espflash` from source (ie. using `cargo install`) then you must have `rustc>=1.74.0` installed on your system.
2929

30-
If you are running **macOS** or **Linux** then [libuv] must also be installed; this is available via most popular package managers. If you are running **Windows** you can ignore this step.
30+
If you are running **Linux** then [libudev] must also be installed; this is available via most popular package managers. If you are running **Windows** or **macOS** you can ignore this step.
3131

3232
```bash
33-
# macOS
34-
brew install libuv
3533
# Debian/Ubuntu/etc.
36-
apt-get install libuv-dev
34+
apt-get install libudev-dev
3735
# Fedora
3836
dnf install systemd-devel
3937
```
@@ -56,7 +54,7 @@ By default, in Unix systems, we use the [`vendored-openssl` Cargo feature] which
5654
OPENSSL_NO_VENDOR=1 cargo install cargo-espflash
5755
```
5856

59-
[libuv]: https://libuv.org/
57+
[libudev]: https://www.freedesktop.org/software/systemd/man/latest/libudev.html
6058
[cargo-binstall]: https://github.com/cargo-bins/cargo-binstall
6159
[releases]: https://github.com/esp-rs/espflash/releases
6260
[`vendored-openssl` Cargo feature]: https://github.com/rust-lang/cargo#compiling-from-source

espflash/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ Supports the **ESP32**, **ESP32-C2/C3/C6**, **ESP32-H2**, **ESP32-P4**, and **ES
2929

3030
If you are installing `espflash` from source (ie. using `cargo install`) then you must have `rustc>=1.74.0` installed on your system.
3131

32-
If you are running **macOS** or **Linux** then [libuv] must also be installed; this is available via most popular package managers. If you are running **Windows** you can ignore this step.
32+
If you are running **Linux** then [libudev] must also be installed; this is available via most popular package managers. If you are running **Windows** or **macOS** you can ignore this step.
3333

3434
```bash
35-
# macOS
36-
brew install libuv
3735
# Debian/Ubuntu/etc.
38-
apt-get install libuv-dev
36+
apt-get install libudev-dev
3937
# Fedora
4038
dnf install systemd-devel
4139
```
@@ -52,7 +50,7 @@ Alternatively, you can use [cargo-binstall] to download pre-compiled artifacts f
5250
cargo binstall espflash
5351
```
5452

55-
[libuv]: https://libuv.org/
53+
[libudev]: https://www.freedesktop.org/software/systemd/man/latest/libudev.html
5654
[cargo-binstall]: https://github.com/cargo-bins/cargo-binstall
5755
[releases]: https://github.com/esp-rs/espflash/releases
5856

0 commit comments

Comments
 (0)