You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[cargo-espflash]| Cargo subcommand for espflash |
15
-
|[espflash]| Library and `espflash` binary (_without_ Cargo integration) |
12
+
[cargo-espflash] is a subcommand for Cargo which utilizes the [espflash] library. This tool integrates with your Cargo projects and handles compilation, flashing, and monitoring of target devices.
16
13
17
-
> **NOTE:** requires `rustc >= 1.59.0` in order to build either application
14
+
Please see the [cargo-espflash README] for more information.
[cargo-espflash] is a subcommand for Cargo which utilizes the [espflash] library. This tool integrates with your Cargo projects and handles compilation, flashing, and monitoring for target devices.
24
+
### espflash
29
25
30
-
Please see the [cargo-espflash README] for more information.
26
+
[espflash] is a standalone binary and library contained within the same crate. This tool does not integrate with Cargo, but supports all of the same features as [cargo-espflash] which are not related to compilation.
31
27
32
-
### Example
28
+
Please see the [espflash README] for more information.
[espflash] is a standalone binary and library contained within the same crate. This tool does not integrate with Cargo, but supports all of the same features as [cargo-espflash] which are not related to compilation.
43
+
Either application can be installed using `cargo`as you normally would:
41
44
42
-
Please see the [espflash README] for more information.
45
+
```shell
46
+
$ cargo install cargo-espflash
47
+
$ cargo install espflash
48
+
```
43
49
44
-
### Example
50
+
Alternatively, you can use [cargo-binstall] to install pre-compiled binaries on any supported system. Please check the [releases] to see which architectures and operating systems have pre-compiled binaries.
In order to build from source, in addition to the Rust toolchain [libuv](https://libuv.org/) must be present on your system. This can be installed via most popular package managers.
62
+
Requires `rustc >= 1.59.0` in order to build either application from source. In addition to the Rust toolchain [libuv](https://libuv.org/) must also be present on your system; this can be installed via most popular package managers.
53
63
54
-
### macOS
64
+
####macOS
55
65
56
66
```bash
57
67
$ brew install libuv
58
68
```
59
69
60
-
### Ubuntu
70
+
####Ubuntu
61
71
62
72
```bash
63
73
$ sudo apt-get install libuv-dev
64
74
```
65
75
66
-
### Fedora
76
+
####Fedora
67
77
68
78
```bash
69
79
$ dnf install systemd-devel
70
80
```
71
81
72
-
## Quickstart - Docker
73
-
74
-
The `esprs/espflash` Docker image contains all necessary toolchains and tooling (including espflash) to build an application and flash it to a target device.
75
-
76
-
To clone, build and flash the [esp32-hal] examples run the following:
0 commit comments