mirror of
https://github.com/esp-rs/espflash.git
synced 2026-04-01 20:19:12 +00:00
Version 3.1.0 (#639)
* docs: Update changelog * build: Bump espflash and cargo-espflash version * build: Update dependencies * build: Bump MSRV
This commit is contained in:
committed by
GitHub
parent
7376f5ee85
commit
c034fe0e1b
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -91,7 +91,7 @@ jobs:
|
||||
- run: cargo check -p espflash --lib --no-default-features --features serialport
|
||||
|
||||
msrv:
|
||||
name: Check MSRV (${{ matrix.platform.target }})
|
||||
name: Check lib MSRV (${{ matrix.platform.target }})
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -114,7 +114,7 @@ jobs:
|
||||
target: ${{ matrix.platform.target }}
|
||||
toolchain: "1.74"
|
||||
|
||||
- run: cargo check
|
||||
- run: cargo check -p espflash --lib
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Test
|
||||
|
||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -5,22 +5,20 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
## [3.1.0] - 2024-05-24
|
||||
|
||||
### Added
|
||||
- Support loading flash size, frequency, and mode from the config file (#627)
|
||||
|
||||
### Fixed
|
||||
- Fixed help text for size parameter of read-flash subcommand
|
||||
- Fixed help text for `size` parameter of `read-flash` subcommand
|
||||
- Fixed port detection on `musl` when detection returns paths starting with `/dev/`
|
||||
- [cargo-espflash]: Always resolve package_id from metadata when finding bootloader and partition table (#632)
|
||||
- Fixed behavior of the --target-app-partition flag (#634)
|
||||
- Fixed behavior of the `--target-app-partition` flag (#634)
|
||||
|
||||
### Changed
|
||||
- Update ESP32, ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2, ESP32-S2, ESP32-S3 stub (#638)
|
||||
|
||||
### Removed
|
||||
|
||||
## [3.0.0] - 2024-03-13
|
||||
|
||||
### Fixed
|
||||
@@ -249,7 +247,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [1.0.0] - 2021-09-21
|
||||
|
||||
[Unreleased]: https://github.com/esp-rs/espflash/compare/v3.0.0...HEAD
|
||||
[3.1.0]: https://github.com/esp-rs/espflash/compare/v3.0.0...v3.1.0
|
||||
[3.0.0]: https://github.com/esp-rs/espflash/compare/v3.0.0-rc.2...v3.0.0
|
||||
[3.0.0-rc.2]: https://github.com/esp-rs/espflash/compare/v3.0.0-rc.1...v3.0.0-rc.2
|
||||
[3.0.0-rc.1]: https://github.com/esp-rs/espflash/compare/v2.1.0...v3.0.0-rc.1
|
||||
|
||||
463
Cargo.lock
generated
463
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cargo-espflash"
|
||||
version = "3.0.1-dev"
|
||||
version = "3.1.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.74"
|
||||
description = "Cargo subcommand for flashing Espressif devices"
|
||||
@@ -21,18 +21,18 @@ pkg-fmt = "zip"
|
||||
|
||||
[dependencies]
|
||||
cargo_metadata = "0.18.1"
|
||||
clap = { version = "4.5.2", features = ["derive", "wrap_help"] }
|
||||
clap = { version = "4.5.4", features = ["derive", "wrap_help"] }
|
||||
env_logger = "0.11.3"
|
||||
esp-idf-part = "0.5.0"
|
||||
espflash = { version = "3.0.1-dev", path = "../espflash" }
|
||||
espflash = { version = "3.1.0", path = "../espflash" }
|
||||
log = "0.4.21"
|
||||
miette = { version = "7.2.0", features = ["fancy"] }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
toml = "0.8.11"
|
||||
serde = { version = "1.0.202", features = ["derive"] }
|
||||
thiserror = "1.0.61"
|
||||
toml = "0.8.13"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
cargo = { version = "0.77.0", features = ["vendored-openssl"] }
|
||||
cargo = { version = "0.78.1", features = ["vendored-openssl"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
cargo = "0.77.0"
|
||||
cargo = "0.78.1"
|
||||
|
||||
@@ -25,7 +25,7 @@ Supports the **ESP32**, **ESP32-C2/C3/C6**, **ESP32-H2**, **ESP32-P4**, and **ES
|
||||
|
||||
## Installation
|
||||
|
||||
If you are installing `cargo-espflash` from source (ie. using `cargo install`) then you must have `rustc>=1.74.0` installed on your system.
|
||||
If you are installing `cargo-espflash` from source (ie. using `cargo install`) then you must have `rustc>=1.76.0` installed on your system.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "espflash"
|
||||
version = "3.0.1-dev"
|
||||
version = "3.1.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.74"
|
||||
description = "A command-line tool for flashing Espressif devices"
|
||||
@@ -23,20 +23,20 @@ path = "./src/bin/espflash.rs"
|
||||
required-features = ["cli", "serialport"]
|
||||
|
||||
[dependencies]
|
||||
addr2line = { version = "0.21.0", optional = true }
|
||||
base64 = "0.22.0"
|
||||
bytemuck = { version = "1.14.3", features = ["derive"] }
|
||||
clap = { version = "4.5.2", features = [
|
||||
addr2line = { version = "0.22.0", optional = true }
|
||||
base64 = "0.22.1"
|
||||
bytemuck = { version = "1.16.0", features = ["derive"] }
|
||||
clap = { version = "4.5.4", features = [
|
||||
"derive",
|
||||
"env",
|
||||
"wrap_help",
|
||||
], optional = true }
|
||||
clap_complete = { version = "4.5.1", optional = true }
|
||||
comfy-table = { version = "7.1.0", optional = true }
|
||||
clap_complete = { version = "4.5.2", optional = true }
|
||||
comfy-table = { version = "7.1.1", optional = true }
|
||||
crossterm = { version = "0.27.0", optional = true } # 0.26.x and 0.27.x causes issues on Windows
|
||||
ctrlc = { version = "3.4.4", optional = true }
|
||||
# defmt dependencies are pinned since defmt does not guarantee MSRV even for patch releases
|
||||
defmt-decoder = { version = "=0.3.10", features = [
|
||||
defmt-decoder = { version = "0.3.11", features = [
|
||||
"unstable",
|
||||
], optional = true }
|
||||
defmt-parser = { version = "=0.3.4", features = ["unstable"], optional = true }
|
||||
@@ -44,7 +44,7 @@ dialoguer = { version = "0.11.0", optional = true }
|
||||
directories = { version = "5.0.1", optional = true }
|
||||
env_logger = { version = "0.11.3", optional = true }
|
||||
esp-idf-part = "0.5.0"
|
||||
flate2 = "1.0.28"
|
||||
flate2 = "1.0.30"
|
||||
hex = { version = "0.4.3", features = ["serde"], optional = true }
|
||||
indicatif = { version = "0.17.8", optional = true }
|
||||
lazy_static = { version = "1.4.0", optional = true }
|
||||
@@ -52,19 +52,19 @@ log = "0.4.21"
|
||||
md-5 = "0.10.6"
|
||||
miette = "7.2.0"
|
||||
parse_int = { version = "0.6.0", optional = true }
|
||||
regex = { version = "1.10.3", optional = true }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
regex = { version = "1.10.4", optional = true }
|
||||
serde = { version = "1.0.202", features = ["derive"] }
|
||||
serialport = { version = "4.3.0", optional = true }
|
||||
sha2 = "0.10.8"
|
||||
slip-codec = { version = "0.4.0", optional = true }
|
||||
strum = { version = "0.26.2", features = ["derive"] }
|
||||
thiserror = "1.0.58"
|
||||
toml = { version = "0.8.11", optional = true }
|
||||
thiserror = "1.0.61"
|
||||
toml = { version = "0.8.13", optional = true }
|
||||
update-informer = { version = "1.1.0", optional = true }
|
||||
xmas-elf = "0.9.1"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc = "0.2.153"
|
||||
libc = "0.2.155"
|
||||
|
||||
[features]
|
||||
default = ["cli"]
|
||||
|
||||
@@ -27,7 +27,7 @@ Supports the **ESP32**, **ESP32-C2/C3/C6**, **ESP32-H2**, **ESP32-P4**, and **ES
|
||||
|
||||
## Installation
|
||||
|
||||
If you are installing `espflash` from source (ie. using `cargo install`) then you must have `rustc>=1.74.0` installed on your system.
|
||||
If you are installing `espflash` from source (ie. using `cargo install`) then you must have `rustc>=1.76.0` installed on your system.
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user