New package releases (#3163)

* Update dependencies and bump version numbers

* Update `CHANGELOG.md` for each package being published

* Update repo-level `README.md`

* Use older nightly to resolve CI issues

* also release esp-backtrace and esp-metadata

* Cleanup

---------

Co-authored-by: Scott Mabin <scott@mabez.dev>
This commit is contained in:
Jesse Braham 2025-02-24 14:32:29 +01:00 committed by GitHub
parent 0a8c609a02
commit fd2bdefaab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with 202 additions and 113 deletions

View File

@ -13,7 +13,7 @@ name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
types: [opened, synchronize, reopened]
push:
branches-ignore:
- "gh-readonly-queue/**"
@ -73,6 +73,12 @@ jobs:
with:
ldproxy: false
version: 1.85.0.0
# TODO: Remove once https://github.com/taiki-e/portable-atomic/issues/208 is resolved
- uses: dtolnay/rust-toolchain@v1
with:
target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf
toolchain: nightly-2025-02-21
components: clippy,rust-src
# Install the Rust stable toolchain for RISC-V devices:
- uses: dtolnay/rust-toolchain@v1
with:

View File

@ -42,11 +42,11 @@ For information relating to the development of Rust applications on ESP devices,
For information about the HAL and how to use it in your own projects, please refer to the [documentation].
When browsing the examples, we recommend viewing the tag for the `esp-hal` release you are using to ensure compatibility, e.g. [v0.23.1], as the `main` branch is used for development and APIs may have changed in the meantime.
When browsing the examples, we recommend viewing the tag for the `esp-hal` release you are using to ensure compatibility, e.g. [esp-hal-v1.0.0-beta.0], as the `main` branch is used for development and APIs may have changed in the meantime.
[The Rust on ESP Book]: https://esp-rs.github.io/book/
[documentation]: https://docs.esp-rs.org/esp-hal/
[v0.23.1]: https://github.com/esp-rs/esp-hal/tree/v0.23.1/examples
[esp-hal-v1.0.0-beta.0]: https://github.com/esp-rs/esp-hal/tree/esp-hal-v1.0.0-beta.0/examples
## Resources

View File

@ -5,7 +5,17 @@ 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]
## Unreleased
### Added
### Changed
### Fixed
### Removed
## [0.7.0] - 2025-02-24
### Added
@ -15,10 +25,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `esp_alloc::heap_allocator!` syntax has been changed to `esp_alloc::heap_allocator!(size: 64000)` (#3135)
### Fixed
### Removed
## 0.6.0 - 2025-01-15
### Added
@ -45,4 +51,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.1.0 - 2022-07-25
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-alloc?since=2025-01-15
[0.7.0]: https://github.com/esp-rs/esp-hal/releases/tag/esp-alloc-v0.7.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-alloc"
version = "0.6.0"
version = "0.7.0"
edition = "2021"
rust-version = "1.84.0"
description = "A heap allocator for Espressif devices"
@ -19,7 +19,7 @@ cfg-if = "1.0.0"
critical-section = "1.2.0"
enumset = "1.1.5"
linked_list_allocator = { version = "0.10.5", default-features = false, features = ["const_mut_refs"] }
document-features = "0.2.10"
document-features = "0.2.11"
[features]
default = []

View File

@ -5,7 +5,7 @@ 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]
## Unreleased
### Added
@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
## [0.15.1] - 2025-02-24
### Fixed
- `PanicInfo` is now printed natively by `defmt` (#3112)
## 0.15.0 - 2025-01-15
### Changed
@ -66,4 +72,4 @@ No changes - published to avoid conflicts with `esp-println`
- Fix compilation for nightly after 2024-06-12. (#1681)
- Only prints float registers on targets which have them. (#1690)
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-backtrace?since=2025-01-15
[0.15.1]: https://github.com/esp-rs/esp-hal/releases/tag/esp-backtrace-v0.15.1

View File

@ -1,6 +1,6 @@
[package]
name = "esp-backtrace"
version = "0.15.0"
version = "0.15.1"
edition = "2021"
rust-version = "1.84.0"
description = "Bare-metal backtrace support for Espressif devices"

View File

@ -5,7 +5,7 @@ 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]
## Unreleased
### Added
@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Removed
## [0.7.0] - 2025-02-24
### Fixed
- Fixed an issue where the `ESP_HAL_EMBASSY_CONFIG_LOW_POWER_WAIT` option was not possible to disable (#2975)
### Removed
@ -92,4 +98,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.1.0 - 2024-06-04
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-hal-embassy?since=2025-01-15
[0.7.0]: https://github.com/esp-rs/esp-hal/releases/tag/esp-hal-embassy-v0.7.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-hal-embassy"
version = "0.6.0"
version = "0.7.0"
edition = "2021"
rust-version = "1.84.0"
description = "Embassy support for esp-hal"
@ -16,23 +16,23 @@ features = ["esp32c6"]
[dependencies]
critical-section = "1.2.0"
defmt = { version = "0.3.10", optional = true }
document-features = "0.2.10"
document-features = "0.2.11"
embassy-executor = { version = "0.7.0", features = ["timer-item-payload-size-4"], optional = true }
embassy-sync = { version = "0.6.1" }
embassy-sync = { version = "0.6.2" }
embassy-time = { version = "0.4.0" }
embassy-time-driver = { version = "0.2.0", features = [ "tick-hz-1_000_000" ] }
embassy-time-queue-utils = { version = "0.1.0", features = ["_generic-queue"] }
esp-config = { version = "0.3.0", path = "../esp-config" }
esp-hal = { version = "0.23.0", path = "../esp-hal" }
log = { version = "0.4.25", optional = true }
macros = { version = "0.16.0", features = ["embassy"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
esp-hal = { version = "1.0.0-beta.0", path = "../esp-hal" }
log = { version = "0.4.26", optional = true }
macros = { version = "0.17.0", features = ["embassy"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
portable-atomic = "1.10.0"
static_cell = "2.1.0"
[build-dependencies]
esp-build = { version = "0.2.0", path = "../esp-build" }
esp-config = { version = "0.3.0", path = "../esp-config", features = ["build"] }
esp-metadata = { version = "0.5.0", path = "../esp-metadata" }
esp-metadata = { version = "0.6.0", path = "../esp-metadata" }
[features]
default = ["executors"]

View File

@ -5,7 +5,17 @@ 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.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## Unreleased
### Added
### Changed
### Fixed
### Removed
## [0.17.0] - 2025-02-24
### Added
@ -34,40 +44,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Removed the `enum-dispatch`, `interrupt`, and `ram` features (#2594)
## [0.15.0] - 2024-11-20
## 0.15.0 - 2024-11-20
### Changed
- Remove `get_` prefix from functions (#2528)
## [0.14.0] - 2024-10-10
## 0.14.0 - 2024-10-10
## [0.13.0] - 2024-08-29
## 0.13.0 - 2024-08-29
## [0.12.0] - 2024-07-15
## 0.12.0 - 2024-07-15
## [0.11.0] - 2024-06-04
## 0.11.0 - 2024-06-04
## [0.10.0] - 2024-04-18
## 0.10.0 - 2024-04-18
## [0.9.0] - 2024-03-18
## 0.9.0 - 2024-03-18
## [0.8.0] - 2023-12-12
## 0.8.0 - 2023-12-12
## [0.7.0] - 2023-10-31
## 0.7.0 - 2023-10-31
## [0.6.1] - 2023-09-05
## 0.6.1 - 2023-09-05
## [0.6.0] - 2023-07-04
## 0.6.0 - 2023-07-04
## [0.5.0] - 2023-03-27
## 0.5.0 - 2023-03-27
## [0.4.0] - 2023-02-21
## 0.4.0 - 2023-02-21
## [0.2.0] - 2023-01-26
## 0.2.0 - 2023-01-26
## [0.1.0] - 2022-08-25
## 0.1.0 - 2022-08-25
- Initial release
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-hal-procmacros?since=2025-01-15
[0.17.0]: https://github.com/esp-rs/esp-hal/releases/tag/esp-hal-procmacros-v0.17.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-hal-procmacros"
version = "0.16.0"
version = "0.17.0"
edition = "2021"
rust-version = "1.84.0"
description = "Procedural macros for esp-hal"
@ -15,14 +15,14 @@ proc-macro = true
[dependencies]
darling = "0.20.10"
document-features = "0.2.10"
document-features = "0.2.11"
litrs = "0.4.1"
object = { version = "0.36.7", default-features = false, features = ["read_core", "elf"], optional = true }
proc-macro-crate = "3.2.0"
proc-macro-error2 = "2.0.1"
proc-macro2 = "1.0.93"
quote = "1.0.38"
syn = { version = "2.0.96", features = ["extra-traits", "full"] }
syn = { version = "2.0.98", features = ["extra-traits", "full"] }
[features]
## Provide a `#[main]` procmacro to mark the entry point for Embassy applications.

View File

@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
### Changed
### Fixed
### Removed
## v1.0.0-beta.0
### Added
- SPI: Added support for 3-wire SPI (#2919)
- UART: Add separate config for Rx and Tx (#2965)
- UART: `read_exact_async` (unstable) (#3142)
@ -51,9 +61,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Uart errors have been split into `RxError` and `TxError`. A combined `IoError` has been created for embedded-io. (#3138)
- `{Uart, UartTx}::flush()` is now fallible. (#3138)
- `Uart::{read_async, write_async}` are now cancellation-safe (#3142)
- I2C: Async functions are postfixed with `_async`, non-async functions are available in async-mode (#3056)
- ESP32-H2/ESP32-C6: Don't rely on the bootloader to deconfigure permission control (#3150)
### Fixed
@ -1136,7 +1144,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.0] - 2022-08-05
[Unreleased]: https://github.com/esp-rs/esp-hal/compare/v0.23.1...HEAD
[Unreleased]: https://github.com/esp-rs/esp-hal/compare/esp-hal-v1.0.0-beta.0...HEAD
[v1.0.0-beta.0]: https://github.com/esp-rs/esp-hal/compare/v0.23.1..esp-hal-v1.0.0-beta.0
[0.23.1]: https://github.com/esp-rs/esp-hal/compare/v0.23.0..v0.23.1
[0.23.0]: https://github.com/esp-rs/esp-hal/compare/v0.22.0..v0.23.0
[0.22.0]: https://github.com/esp-rs/esp-hal/compare/v0.21.1...v0.22.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-hal"
version = "0.23.1"
version = "1.0.0-beta.0"
edition = "2021"
rust-version = "1.84.0"
description = "Bare-metal HAL for Espressif devices"
@ -19,17 +19,17 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
bitflags = "2.8.0"
bytemuck = "1.21.0"
bitfield = "0.17.0"
bitfield = "0.18.1"
cfg-if = "1.0.0"
chrono = { version = "0.4.39", default-features = false }
critical-section = "1.2.0"
defmt = { version = "0.3.10", optional = true }
delegate = "0.13.2"
digest = { version = "0.10.7", default-features = false, optional = true }
document-features = "0.2.10"
document-features = "0.2.11"
embassy-embedded-hal = { version = "0.3.0", optional = true }
embassy-futures = "0.1.1"
embassy-sync = "0.6.1"
embassy-sync = "0.6.2"
embassy-usb-driver = { version = "0.1.0", optional = true }
embassy-usb-synopsys-otg = { version = "0.2.0", optional = true }
embedded-can = { version = "0.4.1", optional = true }
@ -43,12 +43,12 @@ esp-config = { version = "0.3.0", path = "../esp-config" }
esp-synopsys-usb-otg = { version = "0.4.2", optional = true, features = ["fs", "esp32sx"] }
fugit = "0.3.7"
instability = "0.3.7"
log = { version = "0.4.25", optional = true }
log = { version = "0.4.26", optional = true }
nb = "1.1.0"
paste = "1.0.15"
portable-atomic = { version = "1.10.0", default-features = false }
procmacros = { version = "0.16.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
strum = { version = "0.26.3", default-features = false, features = ["derive"] }
procmacros = { version = "0.17.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
strum = { version = "0.27.1", default-features = false, features = ["derive"] }
void = { version = "1.0.2", default-features = false }
usb-device = { version = "0.3.2", optional = true }
rand_core = "0.6.4"
@ -57,17 +57,17 @@ ufmt-write = "0.1.0"
# IMPORTANT:
# Each supported device MUST have its PAC included below along with a
# corresponding feature.
esp32 = { version = "0.35.0", features = ["critical-section", "rt"], git = "https://github.com/esp-rs/esp-pacs", rev = "5d133b594", optional = true }
esp32c2 = { version = "0.24.0", features = ["critical-section", "rt"], git = "https://github.com/esp-rs/esp-pacs", rev = "5d133b594", optional = true }
esp32c3 = { version = "0.27.0", features = ["critical-section", "rt"], git = "https://github.com/esp-rs/esp-pacs", rev = "5d133b594", optional = true }
esp32c6 = { version = "0.18.0", features = ["critical-section", "rt"], git = "https://github.com/esp-rs/esp-pacs", rev = "5d133b594", optional = true }
esp32h2 = { version = "0.14.0", features = ["critical-section", "rt"], git = "https://github.com/esp-rs/esp-pacs", rev = "5d133b594", optional = true }
esp32s2 = { version = "0.26.0", features = ["critical-section", "rt"], git = "https://github.com/esp-rs/esp-pacs", rev = "5d133b594", optional = true }
esp32s3 = { version = "0.30.0", features = ["critical-section", "rt"], git = "https://github.com/esp-rs/esp-pacs", rev = "5d133b594", optional = true }
esp32 = { version = "0.36.0", features = ["critical-section", "rt"], optional = true }
esp32c2 = { version = "0.25.0", features = ["critical-section", "rt"], optional = true }
esp32c3 = { version = "0.28.0", features = ["critical-section", "rt"], optional = true }
esp32c6 = { version = "0.19.0", features = ["critical-section", "rt"], optional = true }
esp32h2 = { version = "0.15.0", features = ["critical-section", "rt"], optional = true }
esp32s2 = { version = "0.27.0", features = ["critical-section", "rt"], optional = true }
esp32s3 = { version = "0.31.0", features = ["critical-section", "rt"], optional = true }
[target.'cfg(target_arch = "riscv32")'.dependencies]
riscv = { version = "0.12.1" }
esp-riscv-rt = { version = "0.9.1", path = "../esp-riscv-rt" }
esp-riscv-rt = { version = "0.10.0", path = "../esp-riscv-rt" }
critical-section = { version = "1.2.0", features = ["restore-state-u8"] }
[target.'cfg(target_arch = "xtensa")'.dependencies]
@ -79,9 +79,9 @@ critical-section = { version = "1.2.0", features = ["restore-state-u32"] }
basic-toml = "0.1.9"
cfg-if = "1.0.0"
esp-build = { version = "0.2.0", path = "../esp-build" }
esp-metadata = { version = "0.5.0", path = "../esp-metadata" }
esp-metadata = { version = "0.6.0", path = "../esp-metadata" }
esp-config = { version = "0.3.0", path = "../esp-config", features = ["build"] }
serde = { version = "1.0.217", features = ["derive"] }
serde = { version = "1.0.218", features = ["derive"] }
[features]
default = []

View File

@ -5,7 +5,7 @@ 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]
## Unreleased
### Added
@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
## [0.6.0] - 2025-02-24
## 0.5.0 - 2025-01-15
### Changed
@ -65,4 +67,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial release
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-ieee802154?since=2025-01-15
[0.6.0]: https://github.com/esp-rs/esp-hal/releases/tag/esp-ieee802154-v0.6.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-ieee802154"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
rust-version = "1.84.0"
description = "Low-level IEEE 802.15.4 driver for the ESP32-C6 and ESP32-H2"
@ -20,15 +20,15 @@ test = false
[dependencies]
byte = "0.2.7"
critical-section = "1.2.0"
document-features = "0.2.10"
esp-hal = { version = "0.23.0", path = "../esp-hal" }
document-features = "0.2.11"
esp-hal = { version = "1.0.0-beta.0", path = "../esp-hal" }
esp-wifi-sys = "0.7.1"
heapless = "0.8.0"
ieee802154 = "0.6.1"
cfg-if = "1.0.0"
esp-config = { version = "0.3.0", path = "../esp-config" }
defmt = { version = "0.3.10", optional = true }
log = { version = "0.4.25", optional = true }
log = { version = "0.4.26", optional = true }
[build-dependencies]
esp-config = { version = "0.3.0", path = "../esp-config" }

View File

@ -23,7 +23,7 @@ esp32c6-lp = { version = "0.3.0", features = ["critical-section"], option
esp32s2-ulp = { version = "0.3.0", features = ["critical-section"], optional = true }
esp32s3-ulp = { version = "0.3.0", features = ["critical-section"], optional = true }
nb = { version = "1.1.0", optional = true }
procmacros = { version = "0.16.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
procmacros = { version = "0.17.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
riscv = { version = "0.11.1", features = ["critical-section-single-hart"] }
[dev-dependencies]

View File

@ -5,7 +5,7 @@ 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.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## Unreleased
### Added
@ -15,6 +15,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
## [0.6.0] - 2025-02-24
### Added
- Introduced the `adc1` and `adc2` symbols (#3082)
### Removed
- Removed the `adc` symbol (#3082)
## 0.5.0 - 2025-01-15
### Added
@ -38,4 +48,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial release
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-metadata?since=2025-01-15
[0.6.0]: https://github.com/esp-rs/esp-hal/releases/tag/esp-metadata-v0.6.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-metadata"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
rust-version = "1.84.0"
description = "Metadata for Espressif devices"

View File

@ -5,7 +5,7 @@ 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]
## Unreleased
### Added
@ -13,10 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix build failure when `critical-section` feature is disabled
### Removed
## [0.13.1] - 2025-02-24
### Fixed
- Fix build failure when `critical-section` feature is disabled
## 0.13.0 - 2025-01-15
### Changed
@ -68,4 +72,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Remove RTT and defmt-raw support
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-println?since=2025-01-15
[0.13.1]: https://github.com/esp-rs/esp-hal/releases/tag/esp-println-v0.13.1

View File

@ -1,6 +1,6 @@
[package]
name = "esp-println"
version = "0.13.0"
version = "0.13.1"
edition = "2021"
rust-version = "1.84.0"
description = "Provides `print!` and `println!` implementations various Espressif devices"
@ -18,12 +18,12 @@ features = ["esp32c3"]
[dependencies]
critical-section = { version = "1.2.0", optional = true }
defmt = { version = "0.3.10", optional = true }
log = { version = "0.4.25", optional = true }
log = { version = "0.4.26", optional = true }
portable-atomic = { version = "1.10.0", optional = true, default-features = false }
[build-dependencies]
esp-build = { version = "0.2.0", path = "../esp-build" }
log = "0.4.25"
log = "0.4.26"
[features]
default = ["critical-section", "colors", "auto"]

View File

@ -11,14 +11,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Bump MSRV to 1.84 (#2951)
- Removed the `fix-sp` feature (check is always enabled) (#3001)
### Fixed
### Removed
## [0.10.0] - 2025-02-24
### Changed
- Bump MSRV to 1.84 (#2951)
- Removed the `fix-sp` feature (check is always enabled) (#3001)
## 0.9.1 - 2024-11-20
## Fixed
@ -88,3 +91,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.2.0 - 2023-03-14
## 0.1.0 - 2023-01-26
[0.10.0]: https://github.com/esp-rs/esp-hal/releases/tag/esp-riscv-rt-v0.10.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-riscv-rt"
version = "0.9.1"
version = "0.10.0"
edition = "2021"
rust-version = "1.84.0"
description = "Minimal runtime / startup for RISC-V CPUs from Espressif"
@ -10,9 +10,9 @@ repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
[dependencies]
document-features = "0.2.10"
document-features = "0.2.11"
riscv = "0.12.1"
riscv-rt-macros = "0.2.2"
riscv-rt-macros = "0.4.0"
[features]
## Indicate that the device supports `mie` and `mip` instructions.

View File

@ -5,19 +5,23 @@ 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]
## Unreleased
### Added
### Changed
- Bump MSRV to 1.84 (#2951)
- Add support for 32MB flash
### Fixed
### Removed
## [0.5.0] - 2025-02-24
### Changed
- Bump MSRV to 1.84 (#2951)
- Add support for 32MB flash
## 0.4.0 - 2024-11-20
### Added
@ -38,4 +42,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## 0.1.0 - 2022-09-26
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-storage?since=2024-11-20
[0.5.0]: https://github.com/esp-rs/esp-hal/releases/tag/esp-storage-v0.5.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-storage"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
rust-version = "1.84.0"
description = "Implementation of embedded-storage traits to access unencrypted ESP32 flash"

View File

@ -5,7 +5,17 @@ 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]
## Unreleased
### Added
### Changed
### Fixed
### Removed
## [0.13.0] - 2025-02-24
### Added
@ -14,19 +24,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- `esp_wifi::init` now takes an `impl Peripheral` for RNG source (#2992)
- `set_power_saving` is now also available when the `coex` feature is activated (#3081)
- Network interfaces and the controller are now more separated (#3027)
### Fixed
- Fixed a problem using BLE on ESP32-C6 when connected via Serial-JTAG (#2981)
- Fix a possible dead-lock when the rx-queue is overrun (#3015)
### Removed
## 0.12.0 - 2025-01-15
### Changed
@ -227,4 +232,4 @@ Initial release supporting WiFi on ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C2
Initial release supporting WiFi on ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C2, ESP32-C6, supporting BLE on WiFi on ESP32, ESP32-S3, ESP32-C3, ESP32-C2, ESP32-C6
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-wifi?since=2025-01-15
[0.13.0]: https://github.com/esp-rs/esp-hal/releases/tag/esp-wifi-v0.13.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-wifi"
version = "0.12.0"
version = "0.13.0"
edition = "2021"
rust-version = "1.84.0"
description = "A WiFi, Bluetooth and ESP-NOW driver for use with Espressif chips and bare-metal Rust"
@ -12,10 +12,10 @@ license = "MIT OR Apache-2.0"
[dependencies]
defmt = { version = "0.3.10", optional = true }
log = { version = "0.4.25", optional = true }
document-features = "0.2.10"
esp-alloc = { version = "0.6.0", path = "../esp-alloc", optional = true }
esp-hal = { version = "0.23.0", path = "../esp-hal", default-features = false }
log = { version = "0.4.26", optional = true }
document-features = "0.2.11"
esp-alloc = { version = "0.7.0", path = "../esp-alloc", optional = true }
esp-hal = { version = "1.0.0-beta.0", path = "../esp-hal", default-features = false }
smoltcp = { version = "0.12.0", default-features = false, features = [
"medium-ethernet",
"socket-raw",
@ -30,7 +30,7 @@ heapless = { version = "0.8.0", default-features = false, features = [
num-derive = { version = "0.4.2" }
num-traits = { version = "0.2.19", default-features = false }
esp-wifi-sys = "0.7.1"
embassy-sync = { version = "0.6.1", optional = true }
embassy-sync = { version = "0.6.2", optional = true }
embassy-net-driver = { version = "0.2.0", optional = true }
libm = "0.2.11"
cfg-if = "1.0.0"
@ -38,16 +38,16 @@ portable-atomic = { version = "1.10.0", default-features = false }
portable_atomic_enum = { version = "0.3.1", features = ["portable-atomic"] }
rand_core = "0.6.4"
bt-hci = { version = "0.2.0", optional = true }
bt-hci = { version = "0.2.1", optional = true }
esp-config = { version = "0.3.0", path = "../esp-config" }
xtensa-lx-rt = { version = "0.18.0", path = "../xtensa-lx-rt", optional = true }
serde = { version = "1.0.217", default-features = false, features = ["derive"], optional = true }
serde = { version = "1.0.218", default-features = false, features = ["derive"], optional = true }
[build-dependencies]
esp-build = { version = "0.2.0", path = "../esp-build" }
esp-config = { version = "0.3.0", path = "../esp-config", features = ["build"] }
esp-metadata = { version = "0.5.0", path = "../esp-metadata" }
esp-metadata = { version = "0.6.0", path = "../esp-metadata" }
[features]
default = ["builtin-scheduler", "esp-alloc"]

View File

@ -156,7 +156,8 @@ fn cargo_doc(workspace: &Path, package: Package, chip: Option<Chip>) -> Result<P
let toolchain = if chip.is_some_and(|chip| chip.is_xtensa()) {
"esp"
} else {
"nightly"
// TODO: Remove date once https://github.com/taiki-e/portable-atomic/issues/208 is resolved
"nightly-2025-02-21"
};
// Determine the appropriate build target for the given package and chip,

View File

@ -162,6 +162,9 @@ pub fn execute_app(
if target.starts_with("xtensa") {
builder = builder.toolchain("esp");
builder.add_arg("-Zbuild-std=core,alloc");
} else {
// NOTE: This shouldn't be required, something fishy is going on...
builder = builder.toolchain("stable")
}
if subcommand == "test" && chip == Chip::Esp32c2 {
@ -225,6 +228,9 @@ pub fn build_package(
if let Some(toolchain) = toolchain {
builder = builder.toolchain(toolchain);
} else {
// NOTE: This shouldn't be required, something fishy is going on...
builder = builder.toolchain("stable");
}
if let Some(target) = target {

View File

@ -824,7 +824,8 @@ fn lint_package(
// are not overwritten.
builder.toolchain("esp")
} else {
builder
// TODO: Remove toolchain once https://github.com/taiki-e/portable-atomic/issues/208 is resolved
builder.toolchain("nightly-2025-02-21")
};
for arg in args {
@ -933,7 +934,12 @@ fn run_doc_tests(workspace: &Path, args: ExampleArgs) -> Result<()> {
let features = vec![chip.to_string(), "unstable".to_string()];
// We need `nightly` for building the doc tests, unfortunately:
let toolchain = if chip.is_xtensa() { "esp" } else { "nightly" };
let toolchain = if chip.is_xtensa() {
"esp"
} else {
// TODO: Remove date once https://github.com/taiki-e/portable-atomic/issues/208 is resolved
"nightly-2025-02-21"
};
// Build up an array of command-line arguments to pass to `cargo`:
let builder = CargoArgsBuilder::default()
@ -1142,7 +1148,10 @@ fn tag_releases(workspace: &Path, mut args: TagReleasesArgs) -> Result<()> {
} else {
log::info!("Would create '{tag}' if `--no-dry-run` was passed.")
}
created.push(DocumentationItem { name: package.to_string(), tag });
created.push(DocumentationItem {
name: package.to_string(),
tag,
});
}
if args.no_dry_run {