Skip to content

Commit

Permalink
New package releases (#2310)
Browse files Browse the repository at this point in the history
* Bump version numbers of all packages to be published, update deps as needed

* Update all `CHANGELOG.md` files

* Update migration guide headings
  • Loading branch information
jessebraham authored Oct 10, 2024
1 parent ba8daaf commit d655fe6
Show file tree
Hide file tree
Showing 24 changed files with 120 additions and 55 deletions.
10 changes: 7 additions & 3 deletions esp-alloc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion esp-alloc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
13 changes: 10 additions & 3 deletions esp-backtrace/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,28 @@ 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

- 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
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions esp-backtrace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion esp-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
14 changes: 8 additions & 6 deletions esp-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[package]
name = "esp-config"
version = "0.1.0"
edition = "2021"
rust-version = "1.79.0"
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"
document-features = "0.2.10"

[dev-dependencies]
temp-env = "0.3.6"

[features]
## Enable the generation and parsing of a config
build = []
build = []
14 changes: 11 additions & 3 deletions esp-hal-embassy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
8 changes: 4 additions & 4 deletions esp-hal-embassy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"]
Expand Down
6 changes: 2 additions & 4 deletions esp-hal-embassy/MIGRATING-0.3.md
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion esp-hal-procmacros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
13 changes: 12 additions & 1 deletion esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions esp-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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 }
Expand Down Expand Up @@ -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"] }

Expand Down
14 changes: 9 additions & 5 deletions esp-hal/MIGRATING-0.20.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Migration Guide from 0.20.x to vNext
# Migration Guide from 0.20.x to v0.21.x

## Cargo Features

Expand All @@ -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`.

Expand All @@ -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

Expand Down Expand Up @@ -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();
Expand All @@ -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);
Expand All @@ -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());
```
Expand All @@ -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
Expand Down
16 changes: 13 additions & 3 deletions esp-ieee802154/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions esp-ieee802154/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion esp-lp-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion esp-metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Loading

0 comments on commit d655fe6

Please sign in to comment.