New package releases (#2310)

* Bump version numbers of all packages to be published, update deps as needed

* Update all `CHANGELOG.md` files

* Update migration guide headings
This commit is contained in:
Jesse Braham 2024-10-10 03:19:04 -07:00 committed by GitHub
parent ba8daafb0b
commit d655fe665f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
24 changed files with 120 additions and 55 deletions

View File

@ -11,12 +11,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- a global allocator is created in esp-alloc, now you need to add individual memory regions (up to 3) to the allocator (#2099)
### Fixed
### Removed
## 0.5.0 - 2024-10-10
### Changed
- a global allocator is created in esp-alloc, now you need to add individual memory regions (up to 3) to the allocator (#2099)
## 0.4.0 - 2024-06-04
## 0.3.0 - 2023-04-25
@ -27,4 +31,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-aloc?since=2024-06-05
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-alloc?since=2024-10-10

View File

@ -1,6 +1,6 @@
[package]
name = "esp-alloc"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
rust-version = "1.68"
description = "A heap allocator 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,15 +13,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix build when not using `panic-handler` (#2257)
### Removed
## 0.14.2 - 2024-10-10
### Fixed
- Fix build when not using `panic-handler` (#2257)
## 0.14.1 - 2024-09-06
### Added
### Changed
- Print a more helpful message in case of a `Cp0Disabled` exception (#2061)
### Fixed
@ -54,3 +59,5 @@ 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=2024-10-10

View File

@ -1,6 +1,6 @@
[package]
name = "esp-backtrace"
version = "0.14.1"
version = "0.14.2"
edition = "2021"
rust-version = "1.76.0"
description = "Bare-metal backtrace support for Espressif devices"
@ -13,7 +13,7 @@ features = ["esp32c3", "panic-handler", "exception-handler", "println", "e
[dependencies]
defmt = { version = "0.3.8", optional = true }
esp-println = { version = "0.11.0", optional = true, default-features = false, path = "../esp-println" }
esp-println = { version = "0.12.0", optional = true, default-features = false, path = "../esp-println" }
semihosting = { version = "0.1.15", optional = true }
[build-dependencies]

View File

@ -12,5 +12,5 @@ proc-macro = true
[dependencies]
quote = "1.0.37"
syn = { version = "2.0.71", features = ["fold", "full"] }
syn = { version = "2.0.79", features = ["fold", "full"] }
termcolor = "1.4.1"

View File

@ -3,6 +3,8 @@ name = "esp-config"
version = "0.1.0"
edition = "2021"
rust-version = "1.79.0"
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
[dependencies]
document-features = "0.2.10"

View File

@ -5,18 +5,24 @@ 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
- MSRV bump to 1.79 (#2156)
### Fixed
### Removed
## 0.4.0 - 2024-10-10
### Changed
- MSRV bump to 1.79 (#2156)
### Removed
- Removed the `clocks` parameter from `esp_hal_embassy::init`. (#1999)
## 0.3.0 - 2024-08-29
@ -42,3 +48,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Removed the TIMG and SYSTIMER time drivers, replaced by a generic time driver taking `OneShotTimer<ErasedTimer>` (#1753)
## 0.1.0 - 2024-06-04
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-hal-embassy?since=2024-10-10

View File

@ -1,6 +1,6 @@
[package]
name = "esp-hal-embassy"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.79.0"
description = "Embassy support for esp-hal"
@ -17,15 +17,15 @@ defmt = { version = "0.3.8", optional = true }
document-features = "0.2.10"
embassy-executor = { version = "0.6.0", optional = true }
embassy-time-driver = { version = "0.1.0", features = [ "tick-hz-1_000_000" ] }
esp-hal = { version = "0.20.0", path = "../esp-hal" }
esp-hal = { version = "0.21.0", path = "../esp-hal" }
log = { version = "0.4.22", optional = true }
macros = { version = "0.13.0", features = ["embassy"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
macros = { version = "0.14.0", features = ["embassy"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
portable-atomic = "1.9.0"
static_cell = "2.1.0"
[build-dependencies]
esp-build = { version = "0.1.0", path = "../esp-build" }
esp-metadata = { version = "0.3.0", path = "../esp-metadata" }
esp-metadata = { version = "0.4.0", path = "../esp-metadata" }
[features]
default = ["executors"]

View File

@ -1,8 +1,6 @@
Migration Guide from 0.3.x to vNext
====================================
# Migration Guide from 0.3.x to v0.4.x
Initialsation
-------------
## Initialization
You no longer have to set up clocks and pass them to `esp_hal_embassy::init`.

View File

@ -1,6 +1,6 @@
[package]
name = "esp-hal-procmacros"
version = "0.13.0"
version = "0.14.0"
edition = "2021"
rust-version = "1.76.0"
description = "Procedural macros for esp-hal"

View File

@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
### Changed
### Fixed
### Removed
## [0.21.0]
- Bump MSRV to 1.79.0 (#1971)
### Added
@ -802,7 +812,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.20.1...HEAD
[Unreleased]: https://github.com/esp-rs/esp-hal/compare/v0.21.0...HEAD
[0.21.0]: https://github.com/esp-rs/esp-hal/compare/v0.20.1...v0.21.0
[0.20.1]: https://github.com/esp-rs/esp-hal/compare/v0.20.0...v0.20.1
[0.20.0]: https://github.com/esp-rs/esp-hal/compare/v0.19.0...v0.20.0
[0.19.0]: https://github.com/esp-rs/esp-hal/compare/v0.18.0...v0.19.0

View File

@ -1,6 +1,6 @@
[package]
name = "esp-hal"
version = "0.20.1"
version = "0.21.0"
edition = "2021"
rust-version = "1.79.0"
description = "Bare-metal HAL for Espressif devices"
@ -43,7 +43,7 @@ log = { version = "0.4.22", optional = true }
nb = "1.1.0"
paste = "1.0.15"
portable-atomic = { version = "1.9.0", default-features = false }
procmacros = { version = "0.13.0", features = ["enum-dispatch", "interrupt", "ram"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
procmacros = { version = "0.14.0", features = ["enum-dispatch", "interrupt", "ram"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
riscv = { version = "0.11.1", optional = true }
strum = { version = "0.26.3", default-features = false, features = ["derive"] }
void = { version = "1.0.2", default-features = false }
@ -73,7 +73,7 @@ xtensa-lx-rt = { version = "0.17.0", path = "../xtensa-lx-rt" }
basic-toml = "0.1.9"
cfg-if = "1.0.0"
esp-build = { version = "0.1.0", path = "../esp-build" }
esp-metadata = { version = "0.3.0", path = "../esp-metadata" }
esp-metadata = { version = "0.4.0", path = "../esp-metadata" }
esp-config = { version = "0.1.0", path = "../esp-config", features = ["build"] }
serde = { version = "1.0.210", features = ["derive"] }

View File

@ -1,4 +1,4 @@
# Migration Guide from 0.20.x to vNext
# Migration Guide from 0.20.x to v0.21.x
## Cargo Features
@ -13,7 +13,7 @@ A number of trait implementations which were previously feature-gated are now im
If your project enables any of these features, simply remove them from your Cargo manifest and things should continue to work as expected.
## HAL Initialisation
## HAL Initialization
Instead of manually grabbing peripherals and setting up clocks, you should now call `esp_hal::init`.
@ -38,9 +38,9 @@ Instead of manually grabbing peripherals and setting up clocks, you should now c
## GPIO changes
- The `GpioN` type aliasses are no longer available. You can use `GpioPin<N>` instead.
- The `AnyInputOnlyPin` has been removed. Replace any use with `AnyPin`.
- The `NoPinType` has been removed. You can use `DummyPin` in its place.
- The `GpioN` type aliasses are no longer available. You can use `GpioPin<N>` instead.
- The `AnyInputOnlyPin` has been removed. Replace any use with `AnyPin`.
- The `NoPinType` has been removed. You can use `DummyPin` in its place.
### Type-erased GPIO drivers
@ -236,6 +236,7 @@ We've replaced some usage of features with [esp-config](https://docs.rs/esp-conf
## `Camera` driver now uses `DmaRxBuffer` and moves the driver into the transfer object.
For one shot transfers.
```diff
let (rx_buffer, rx_descriptors, _, _) = dma_buffers!(32678, 0);
+ let dma_buf = DmaRxBuf::new(rx_descriptors, rx_buffer).unwrap();
@ -256,6 +257,7 @@ let mut camera = Camera::new(
```
For circular transfers.
```diff
- let (rx_buffer, rx_descriptors, _, _) = dma_buffers!(32678, 0);
+ let dma_buf = dma_rx_stream_buffer!(32678);
@ -281,6 +283,7 @@ transfer.pop(&mut [.....]);
Initializing PS-RAM now takes a chip specific config and returns start of the mapped memory and the size.
Example
```rust
let (start, size) = psram::init_psram(peripherals.PSRAM, psram::PsramConfig::default());
```
@ -293,6 +296,7 @@ The features `psram-Xm` and `opsram-Xm` are removed and replaced by `quad-psram`
The feature `psram-80mhz` is removed and replaced by `PsramConfig`
Diff of the `psram_quad.rs` example
```diff
-//% FEATURES: psram-2m
+//% FEATURES: esp-hal/quad-psram

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.4.0 - 2024-10-10
### Added
@ -24,8 +34,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed possible integer underflow in array access
- Fixed compile error when building sys-logs feature
### Removed
## 0.2.0 - 2024-08-29
### Added
@ -38,3 +46,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-ieee802154?since=2024-10-10

View File

@ -1,6 +1,6 @@
[package]
name = "esp-ieee802154"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
rust-version = "1.76.0"
description = "Low-level IEEE 802.15.4 driver for the ESP32-C6 and ESP32-H2"
@ -19,7 +19,7 @@ test = false
byte = "0.2.7"
critical-section = "1.1.3"
document-features = "0.2.10"
esp-hal = { version = "0.20.0", path = "../esp-hal" }
esp-hal = { version = "0.21.0", path = "../esp-hal" }
esp-wifi-sys = { version = "0.5.0", git = "https://github.com/esp-rs/esp-wifi-sys", rev = "30d43461335cf5f58317dfc78a5397f48dae2e27" }
heapless = "0.8.0"
ieee802154 = "0.6.1"

View File

@ -35,7 +35,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.13.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
procmacros = { version = "0.14.0", package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
riscv = { version = "0.11.1", features = ["critical-section-single-hart"] }
[dev-dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "esp-metadata"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
rust-version = "1.70.0"
description = "Metadata for Espressif devices"

View File

@ -5,17 +5,22 @@ 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
- Replace environment variables `ESP_LOGLEVEL` and `ESP_LOGFILTER` with just one environment variable: `ESP_LOG` (#2291)
### Fixed
### Removed
## 0.12.0 - 2024-10-10
### Changed
- Replace environment variables `ESP_LOGLEVEL` and `ESP_LOGFILTER` with just one environment variable: `ESP_LOG` (#2291)
## 0.11.0 - 2024-08-29
### Added
@ -54,3 +59,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- Remove RTT and defmt-raw support
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-println?since=2024-10-10

View File

@ -1,6 +1,6 @@
[package]
name = "esp-println"
version = "0.11.0"
version = "0.12.0"
edition = "2021"
rust-version = "1.76.0"
description = "Provides `print!` and `println!` implementations various Espressif devices"

View File

@ -15,10 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
## 0.3.1 - 2024-10-10
## 0.3.0 - 2023-08-16
## 0.2.0 - 2023-07-05
## 0.1.0 - 2022-09-26
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-storage?since=2023-08-17
[Unreleased]: https://github.com/esp-rs/esp-hal/commits/main/esp-storage?since=2024-10-10

View File

@ -1,6 +1,6 @@
[package]
name = "esp-storage"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
rust-version = "1.76.0"
authors = [

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.10.0 - 2024-10-10
### Added
@ -151,3 +161,5 @@ Initial release supporting WiFi on ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C2
## 0.1.0 - 2023-11-27
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=2024-10-10

View File

@ -1,6 +1,6 @@
[package]
name = "esp-wifi"
version = "0.9.1"
version = "0.10.0"
edition = "2021"
rust-version = "1.79.0"
authors = ["The ESP-RS team"]
@ -16,8 +16,8 @@ categories = ["embedded", "hardware-support", "no-std"]
defmt = { version = "0.3.8", optional = true }
log = { version = "0.4.22", optional = true }
document-features = "0.2.10"
esp-alloc = { version = "0.4.0", path = "../esp-alloc", optional = true }
esp-hal = { version = "0.20.0", path = "../esp-hal", default-features = false }
esp-alloc = { version = "0.5.0", path = "../esp-alloc", optional = true }
esp-hal = { version = "0.21.0", path = "../esp-hal", default-features = false }
smoltcp = { version = "0.11.0", default-features = false, features = [
"medium-ethernet",
"socket-raw",
@ -49,7 +49,7 @@ xtensa-lx-rt = { version = "0.17.1", path = "../xtensa-lx-rt", optional = true }
[build-dependencies]
esp-build = { version = "0.1.0", path = "../esp-build" }
esp-config = { version = "0.1.0", path = "../esp-config", features = ["build"] }
esp-metadata = { version = "0.3.0", path = "../esp-metadata" }
esp-metadata = { version = "0.4.0", path = "../esp-metadata" }
[features]
default = ["esp-alloc"]

View File

@ -1,4 +1,4 @@
# Migration Guide from 0.9.x to vNext
# Migration Guide from 0.9.x to v0.10.x
## Initialization