Skip to content

Commit 8a42780

Browse files
committed
Version 1.7.0
1 parent e9d1f2a commit 8a42780

File tree

5 files changed

+54
-30
lines changed

5 files changed

+54
-30
lines changed

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo-espflash/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-espflash"
3-
version = "1.6.0"
3+
version = "1.7.0"
44
authors = [
55
"Robin Appelman <robin@icewind.nl>",
66
"Jesse Braham <jesse@beta7.io>",
@@ -9,7 +9,7 @@ edition = "2021"
99
rust-version = "1.59"
1010
description = "Cargo subcommand for flashing Espressif devices over serial"
1111
repository = "https://github.com/esp-rs/espflash"
12-
license = "MIT or Apache-2.0"
12+
license = "MIT OR Apache-2.0"
1313
keywords = [
1414
"cargo",
1515
"cli",
@@ -32,12 +32,12 @@ pkg-fmt = "zip"
3232
[dependencies]
3333
cargo_metadata = "0.15.0"
3434
cargo_toml = "0.11.6"
35-
clap = { version = "3.2.20", features = ["derive", "env"] }
36-
espflash = { version = "=1.6.1-dev", path = "../espflash" }
35+
clap = { version = "3.2.22", features = ["derive", "env"] }
36+
espflash = { version = "1.7.0", path = "../espflash" }
3737
log = "0.4.17"
3838
miette = { version = "5.3.0", features = ["fancy"] }
3939
serde = { version = "1.0.144", features = ["derive"] }
4040
strum = "0.24.1"
41-
thiserror = "1.0.34"
41+
thiserror = "1.0.35"
4242
tracing-subscriber = { version = "0.3.15", features = [ "env-filter" ] }
4343
toml = "0.5.9"

cargo-espflash/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $ cargo binstall cargo-espflash
2727
## Usage
2828

2929
```text
30-
cargo-espflash 1.6.0
30+
cargo-espflash 1.7.0
3131
3232
USAGE:
3333
cargo espflash [OPTIONS] [SERIAL] [SUBCOMMAND]
@@ -36,9 +36,16 @@ ARGS:
3636
<SERIAL> Serial port connected to target device
3737
3838
OPTIONS:
39+
--bin <BIN>
40+
Binary to build and flash
41+
3942
--bootloader <BOOTLOADER>
4043
Path to a binary (.bin) bootloader file
4144
45+
--erase-otadata
46+
Erase the OTADATA partition This is useful when using multiple OTA partitions and still
47+
wanting to be able to reflash via espflash
48+
4249
--example <EXAMPLE>
4350
Example to build and flash
4451
@@ -66,6 +73,9 @@ OPTIONS:
6673
--monitor
6774
Open a serial monitor after flashing
6875
76+
--monitor-speed <MONITOR_SPEED>
77+
Baud rate at which to read console output
78+
6979
--package <PACKAGE>
7080
Specify a (binary) package within a workspace to be built
7181
@@ -91,6 +101,9 @@ OPTIONS:
91101
--target-dir <TARGET_DIR>
92102
Directory for all generated artifacts
93103
104+
--use-stub
105+
Use RAM stub for loading
106+
94107
-V, --version
95108
Print version information
96109

espflash/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "espflash"
3-
version = "1.6.1-dev"
3+
version = "1.7.0"
44
authors = [
55
"Robin Appelman <robin@icewind.nl>",
66
"Jesse Braham <jesse@beta7.io>",
@@ -9,7 +9,7 @@ edition = "2021"
99
rust-version = "1.59"
1010
description = "A command-line tool for flashing Espressif devices over serial"
1111
repository = "https://github.com/esp-rs/espflash"
12-
license = "MIT or Apache-2.0"
12+
license = "MIT OR Apache-2.0"
1313
keywords = [
1414
"cli",
1515
"embedded",
@@ -32,15 +32,15 @@ pkg-fmt = "zip"
3232
base64 = "0.13.0"
3333
binread = "2.2.0"
3434
bytemuck = { version = "1.12.1", features = ["derive"] }
35-
clap = { version = "3.2.3", features = ["derive", "env"] }
35+
clap = { version = "3.2.22", features = ["derive", "env"] }
3636
comfy-table = "6.1.0"
3737
crossterm = "0.25.0"
3838
csv = "1.1.6"
3939
dialoguer = "0.10.2"
4040
directories-next = "2.0.0"
4141
espmonitor = "0.10.0"
4242
flate2 = "1.0.24"
43-
indicatif = "0.17.0"
43+
indicatif = "0.17.1"
4444
log = "0.4.17"
4545
maplit = "1.0.2"
4646
md5 = "0.7.0"
@@ -53,11 +53,11 @@ serde_json = "1.0.85"
5353
serde_plain = "1.0.0"
5454
serialport = "4.2.0"
5555
tracing-subscriber = { version = "0.3.15", features = [ "env-filter" ] }
56-
sha2 = "0.10.5"
56+
sha2 = "0.10.6"
5757
slip-codec = "0.3.3"
5858
strum = "0.24.1"
5959
strum_macros = "0.24.3"
60-
thiserror = "1.0.34"
60+
thiserror = "1.0.35"
6161
toml = "0.5.9"
6262
update-informer = "0.5.0"
6363
xmas-elf = "0.8.0"

espflash/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ cargo binstall espflash
2323
## Usage
2424

2525
```text
26-
espflash 1.6.0
26+
espflash 1.7.0
2727
2828
USAGE:
2929
espflash [OPTIONS] [ARGS] [SUBCOMMAND]
@@ -36,6 +36,10 @@ OPTIONS:
3636
--bootloader <BOOTLOADER>
3737
Path to a binary (.bin) bootloader file
3838
39+
--erase-otadata
40+
Erase the OTADATA partition This is useful when using multiple OTA partitions and still
41+
wanting to be able to reflash via espflash
42+
3943
-f, --flash-freq <FREQUENCY>
4044
Flash frequency [possible values: 12M, 15M, 16M, 20M, 24M, 26M, 30M, 40M, 48M, 60M, 80M]
4145
@@ -45,6 +49,9 @@ OPTIONS:
4549
-h, --help
4650
Print help information
4751
52+
--log-level <LOG_LEVEL>
53+
Log level [env: LOG_LEVEL=] [default: info]
54+
4855
-m, --flash-mode <MODE>
4956
Flash mode to use [possible values: QIO, QOUT, DIO, DOUT]
5057
@@ -67,11 +74,15 @@ OPTIONS:
6774
--speed <SPEED>
6875
Baud rate at which to flash target device
6976
77+
--use-stub
78+
Use RAM stub for loading
79+
7080
-V, --version
7181
Print version information
7282
7383
SUBCOMMANDS:
74-
board-info Display information about the connected board and exit without flashing
84+
board-info Display information about the connected board and exit without
85+
flashing
7586
help Print this message or the help of the given subcommand(s)
7687
partition-table Operations for partitions tables
7788
save-image Save the image to disk instead of flashing to device

0 commit comments

Comments
 (0)