From 1c50ce23a6635455dae63a45ed71957a2fd904b2 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Sun, 3 Nov 2024 14:51:10 -0800 Subject: [PATCH 1/4] wip: Release rp235x-hal v0.3.0 Still need to add #PR and @user-name to CHANGELOG.md I've verified that `cargo run-arm --release --bin blinky` and `cargo run-riscv --release --bin blinky` work. --- rp235x-hal-examples/Cargo.toml | 2 +- rp235x-hal/CHANGELOG.md | 30 ++++++++++++++++++++++++++++-- rp235x-hal/Cargo.toml | 2 +- rp235x-hal/README.md | 6 ++++++ 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/rp235x-hal-examples/Cargo.toml b/rp235x-hal-examples/Cargo.toml index 9f8a1de3a..76d5e6ee0 100644 --- a/rp235x-hal-examples/Cargo.toml +++ b/rp235x-hal-examples/Cargo.toml @@ -32,7 +32,7 @@ nb = "1.0" panic-halt = "0.2.0" pio = "0.2.0" pio-proc = "0.2.0" -rp235x-hal = {path = "../rp235x-hal", version = "0.2.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]} +rp235x-hal = {path = "../rp235x-hal", version = "0.3.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]} usb-device = "0.3.2" usbd-serial = "0.2.2" static_cell = "2.1.0" diff --git a/rp235x-hal/CHANGELOG.md b/rp235x-hal/CHANGELOG.md index 65fab2dbd..c633d5380 100644 --- a/rp235x-hal/CHANGELOG.md +++ b/rp235x-hal/CHANGELOG.md @@ -5,9 +5,35 @@ 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] + +## [0.3.0] - 2024-11-03 ### Changed -- First version +- feat: add support for PIO `in_count` +- implement Debug support for the GPIO structures (RP235x) +- Fix clippy warnings reported by rust beta +- Merge pull request #862 from jannic/update-critical-section +- Update critical-section dependency to version 1.2.0 +- spi: port `set_format` changes to rp235x + +## [0.2.0] - 2024-09-25 + +### Changed +- Don't allow unreachable_patterns +- Disable several warnings that show up with rust 1.82.0(beta) +- Merge pull request #841 from jannic/update-rp2350-uart +- Add uart_loopback example. +- Port SPI changes from rp2040-hal to rp235x-hal +- Port UART updates to rp235x-hal +- Update rp235x-hal/src/timer.rs +- Update rp235x-hal/src/lposc.rs +- RP235x: Formatting +- RP235x: More datasheet fixes. +- RP235x: datasheet link clean-ups +- Use published 2350 PAC. +- Format rp235x-hal/Cargo.toml +- Moved some UART stuff into rp-hal-common. +- Add an RP2350 HAL. diff --git a/rp235x-hal/Cargo.toml b/rp235x-hal/Cargo.toml index a9c6a390e..f9958bf53 100644 --- a/rp235x-hal/Cargo.toml +++ b/rp235x-hal/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0" name = "rp235x-hal" repository = "https://github.com/rp-rs/rp-hal" rust-version = "1.79" -version = "0.2.0" +version = "0.3.0" [package.metadata.docs.rs] features = ["rt", "defmt", "rtic-monotonic"] diff --git a/rp235x-hal/README.md b/rp235x-hal/README.md index 1e3318f0d..9bc8d1651 100644 --- a/rp235x-hal/README.md +++ b/rp235x-hal/README.md @@ -70,6 +70,12 @@ To include this crate in your project, amend your `Cargo.toml` file to include rp235x-hal = "*" ``` +Or to include this version specifically: + +```toml +rp235x-hal = "0.3.0" +``` + To obtain a copy of the source code (e.g. if you want to propose a bug-fix or new feature, or simply to study the code), run: From 0dc4e80b287abf24cc283cfb44d6209994c18b5a Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sat, 15 Feb 2025 23:07:40 +0000 Subject: [PATCH 2/4] Update rp235x-hal/CHANGELOG.md --- rp235x-hal/CHANGELOG.md | 45 +++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/rp235x-hal/CHANGELOG.md b/rp235x-hal/CHANGELOG.md index c633d5380..e4029861e 100644 --- a/rp235x-hal/CHANGELOG.md +++ b/rp235x-hal/CHANGELOG.md @@ -7,33 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.3.0] - 2024-11-03 +## [0.3.0] - 2025-02-?? -### Changed +### MSRV -- feat: add support for PIO `in_count` -- implement Debug support for the GPIO structures (RP235x) -- Fix clippy warnings reported by rust beta -- Merge pull request #862 from jannic/update-critical-section -- Update critical-section dependency to version 1.2.0 -- spi: port `set_format` changes to rp235x +The Minimum-Supported Rust Version (MSRV) for the next release is 1.79 -## [0.2.0] - 2024-09-25 +- Bump MSRV to 1.79 to enable inline\_const, used for static asserts. ### Changed -- Don't allow unreachable_patterns -- Disable several warnings that show up with rust 1.82.0(beta) -- Merge pull request #841 from jannic/update-rp2350-uart -- Add uart_loopback example. -- Port SPI changes from rp2040-hal to rp235x-hal -- Port UART updates to rp235x-hal -- Update rp235x-hal/src/timer.rs -- Update rp235x-hal/src/lposc.rs -- RP235x: Formatting -- RP235x: More datasheet fixes. -- RP235x: datasheet link clean-ups -- Use published 2350 PAC. -- Format rp235x-hal/Cargo.toml -- Moved some UART stuff into rp-hal-common. -- Add an RP2350 HAL. +- Enable co-processors when spawning on core1 - #900 @jannic +- Derive Debug and defmt::Format for StackAllocation - #889 @jannic +- Implement support for XipCS1 pin function - #873 @Altaflux +- Add a nice wrapper for get\_sys\_info - #877 @nahla-nee +- feat: add support for PIO `in_count` - #867 @allexoll +- implement Debug support for the GPIO structures - #866 @jannic +- Fix clippy warnings reported by rust beta - #865 #887 @jannic +- Update critical-section dependency to version 1.2.0 - #862 @jannic +- spi: port `set_format` changes to rp235x - #842 @jannic + +## 0.2.0 - 2024-09-25 + +This was the initial public release of rp235x-hal. The port from +rp2040-hal was done by Jonathan Pallant (@thejpster). + +[Unreleased]: https://github.com/rp-rs/rp-hal/compare/rp235x-hal-0.3.0...HEAD +[0.3.0]: https://github.com/rp-rs/rp-hal/compare/rp235x-hal-0.2.0...rp235x-hal-0.3.0 From cf5f03027645b059a6a154a0f16bc37d92f3bdde Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sun, 16 Feb 2025 17:11:14 +0000 Subject: [PATCH 3/4] Add some more CHANGELOG entries --- rp235x-hal/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rp235x-hal/CHANGELOG.md b/rp235x-hal/CHANGELOG.md index e4029861e..2f5af270e 100644 --- a/rp235x-hal/CHANGELOG.md +++ b/rp235x-hal/CHANGELOG.md @@ -18,6 +18,9 @@ The Minimum-Supported Rust Version (MSRV) for the next release is 1.79 ### Changed - Enable co-processors when spawning on core1 - #900 @jannic +- Set EXTEXCLALL when enabling multi-core operation, fixing atomics - #898 @jannic +- Fix implementations of embedded\_io::Write for UartPeripheral - #895 @jannic +- Copy implementation of PinGroup::set\_u32 from rp2040-hal - #893 @jannic - Derive Debug and defmt::Format for StackAllocation - #889 @jannic - Implement support for XipCS1 pin function - #873 @Altaflux - Add a nice wrapper for get\_sys\_info - #877 @nahla-nee From 7237b2b9852cbd0ead01d6cc8b2ee17b81691890 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sun, 2 Mar 2025 11:01:14 +0000 Subject: [PATCH 4/4] Set release date for rp235x-hal-0.3.0 --- rp235x-hal/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rp235x-hal/CHANGELOG.md b/rp235x-hal/CHANGELOG.md index 2f5af270e..5a708cd65 100644 --- a/rp235x-hal/CHANGELOG.md +++ b/rp235x-hal/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.3.0] - 2025-02-?? +## [0.3.0] - 2025-03-02 ### MSRV