Skip to content

Commit 433f5d9

Browse files
committed
Version 1.6.0
1 parent d0bd11b commit 433f5d9

File tree

5 files changed

+35
-24
lines changed

5 files changed

+35
-24
lines changed

Cargo.lock

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo-espflash/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-espflash"
3-
version = "1.5.2-dev"
3+
version = "1.6.0"
44
authors = [
55
"Robin Appelman <[email protected]>",
66
"Jesse Braham <[email protected]>",
@@ -30,11 +30,11 @@ bin-dir = "{ bin }{ binary-ext }"
3030
pkg-fmt = "zip"
3131

3232
[dependencies]
33-
cargo_metadata = "0.14"
33+
cargo_metadata = "0.15"
3434
cargo_toml = "0.11"
3535
clap = { version = "3.1", features = ["derive"] }
36-
espflash = { version = "=1.5.2-dev", path = "../espflash" }
37-
miette = { version = "4.7", features = ["fancy"] }
36+
espflash = { version = "1.6.0", path = "../espflash" }
37+
miette = { version = "5.1", features = ["fancy"] }
3838
serde = { version = "1.0", features = ["derive"] }
3939
strum = "0.24"
4040
thiserror = "1.0"

cargo-espflash/README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $ cargo install cargo-espflash
1515
## Usage
1616

1717
```text
18-
cargo-espflash 1.5.1
18+
cargo-espflash 1.6.0
1919
2020
USAGE:
2121
cargo espflash [OPTIONS] [SERIAL] [SUBCOMMAND]
@@ -31,17 +31,23 @@ OPTIONS:
3131
Example to build and flash
3232
3333
-f, --flash-freq <FREQUENCY>
34-
Flash frequency [possible values: 20M, 26M, 40M, 80M]
34+
Flash frequency [possible values: 12M, 15M, 16M, 20M, 24M, 26M, 30M, 40M, 48M, 60M, 80M]
3535
3636
--features <FEATURES>
3737
Comma delimited list of build features
3838
3939
--format <FORMAT>
4040
Image format to flash [possible values: bootloader, direct-boot]
4141
42+
--frozen
43+
Require Cargo.lock and cache are up to date
44+
4245
-h, --help
4346
Print help information
4447
48+
--locked
49+
Require Cargo.lock is up to date
50+
4551
-m, --flash-mode <MODE>
4652
Flash mode to use [possible values: QIO, QOUT, DIO, DOUT]
4753
@@ -70,6 +76,9 @@ OPTIONS:
7076
--target <TARGET>
7177
Target to build for
7278
79+
--target-dir <TARGET_DIR>
80+
Directory for all generated artifacts
81+
7382
-V, --version
7483
Print version information
7584
@@ -106,6 +115,7 @@ pid = "8000"
106115
```
107116

108117
## WSL2
118+
109119
It is not possible to flash `usb-serial-jtag` chips with `WSL2` because the reset also resets `serial-jtag-peripheral` which disconnects the chip from WSL2.
110120

111121
## Package Metadata

espflash/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "espflash"
3-
version = "1.5.2-dev"
3+
version = "1.6.0"
44
authors = [
55
"Robin Appelman <[email protected]>",
66
"Jesse Braham <[email protected]>",
@@ -46,7 +46,7 @@ flate2 = "1.0"
4646
indicatif = "0.16"
4747
maplit = "1.0"
4848
md5 = "0.7"
49-
miette = { version = "4.7", features = ["fancy"] }
49+
miette = { version = "5.1", features = ["fancy"] }
5050
parse_int = "0.6"
5151
regex = "1.5"
5252
serde = { version = "1.0", features = ["derive"] }

espflash/README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $ cargo install espflash
1515
## Usage
1616

1717
```text
18-
espflash 1.5.1
18+
espflash 1.6.0
1919
2020
USAGE:
2121
espflash [OPTIONS] [ARGS] [SUBCOMMAND]
@@ -29,7 +29,7 @@ OPTIONS:
2929
Path to a binary (.bin) bootloader file
3030
3131
-f, --flash-freq <FREQUENCY>
32-
Flash frequency [possible values: 20M, 26M, 40M, 80M]
32+
Flash frequency [possible values: 12M, 15M, 16M, 20M, 24M, 26M, 30M, 40M, 48M, 60M, 80M]
3333
3434
--format <FORMAT>
3535
Image format to flash [possible values: bootloader, direct-boot]
@@ -60,12 +60,12 @@ OPTIONS:
6060
Print version information
6161
6262
SUBCOMMANDS:
63-
board-info Display information about the connected board and exit without flashing
64-
help Print this message or the help of the given subcommand(s)
65-
partition-table Operations for partitions tables
66-
save-image Save the image to disk instead of flashing to device
67-
serial-monitor Open the serial monitor without flashing
68-
write-bin-to-flash Writes a binary file to a specific address in the chip's flash
63+
board-info Display information about the connected board and exit without flashing
64+
help Print this message or the help of the given subcommand(s)
65+
partition-table Operations for partitions tables
66+
save-image Save the image to disk instead of flashing to device
67+
serial-monitor Open the serial monitor without flashing
68+
write-bin-to-flash Writes a binary file to a specific address in the chip's flash
6969
```
7070

7171
## Configuration
@@ -90,6 +90,7 @@ pid = 32768 # 0x8000
9090
```
9191

9292
## WSL2
93+
9394
It is not possible to flash `usb-serial-jtag` chips with `WSL2` because the reset also resets `serial-jtag-peripheral` which disconnects the chip from WSL2.
9495

9596
## Use as a Cargo Runner

0 commit comments

Comments
 (0)