From a6c53ce78337e21359b318b8a082289a8d7ded42 Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Thu, 22 Feb 2024 21:03:33 +0000 Subject: [PATCH 1/4] Update CHANGELOG.md Should be up to date as of commit f1a98fd --- rp2040-hal/CHANGELOG.md | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/rp2040-hal/CHANGELOG.md b/rp2040-hal/CHANGELOG.md index e0dd1920e..1d0433c75 100644 --- a/rp2040-hal/CHANGELOG.md +++ b/rp2040-hal/CHANGELOG.md @@ -8,22 +8,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added -- Allow to use ADC free-running mode without FIFO. + +- Implement i2c-write-iter traits - #765 @ithinuel +- Add categories and keywords to Cargo.toml - #769 @rursprung +- Add getters to the various pad overrides - #768 @ithinuel +- Add an example for using embedded-alloc - #306 @umgefahren @jannic +- Introduce async.await i2c implementation - #747 @ithinuel +- Support embedded\_hal 1.0.0 - #734 #736 #753 @jannic @jonathanpallant +- Implement defmt formatting and Debug for clocks::InitError - #751 @jannic +- Implement embedded-io Read + Write for UartPeripheral - #727 @Sympatron +- Add from\_installed\_program with correct shift direction - #715 @jannic +- Add derive(defmt::Format) to i2c::peripheral::I2CEvent - #726 @ithinuel +- Make PIO IRQ IDs into ZSTs - #723 @9ary +- Add RTC examples & expand RealTimeClock & ClockManager capabilities - #676 @ithinuel +- Allow to use ADC free-running mode without FIFO - #739 @jannic +- Add on-chip voltage regulator (VREG) voltage setting function - #757 @AkiyukiOkayasu +- Support for entering and exiting DORMANT mode - #701 @andrewh42 ### Changed -- bump MSRV to 1.65 +- Update lower VCO frequency limit according to datasheet update - #773 @ithinuel +- bump MSRV to 1.75 - Set startup\_delay\_multiplier of XOSC to 64, and make it configurable. This should increase compatibility with boards where the oscillator starts up - more slowly than on the Raspberry Pico. + more slowly than on the Raspberry Pico. - #746 @jannic +- Replace asm macros by rust macros - #730 @jannic +- Update usb-device implementation - #584 @ithinuel +- Update rp2040-pac to v0.6.0 and apply required changes - #770 @AkiyukiOkayasu - Some reorganization of ADC code, making sure that AdcPin can only - be created for pins that can actually be used as ADC channels. + be created for pins that can actually be used as ADC channels - #739 @jannic - Breaking change: Clear the input-enable flag of all pins on bank 0 in `Pins::new`. They will automatically be enabled when setting a pin function, so most users won't be affected by that change. Notable exception: If you rely on the fact that PIO can read all pins as input even if the pin is not configured to the PIO function, you may need to set the input-enable flag manually. - #755 @jannic +### Fixed + +- Properly report UART break conditions - #712 @jannic +- Ensure that i2c pins have PullUp activated - #708 @jannic +- PWM: Set TOP to 0xfffe by default and fix get\_max\_duty - #744 @jannic +- Add missing ValidFunction implementation for DynFunction - #738 @ithinuel +- Fix RealTimeClock & UsbBus ownership - #725 @jnthbdn +- Make Spi::free also free up the pins - #719 @SCingolani +- Add safety comments to unsafe rom function - #721 @jannic + ## [0.9.1] ### Added From a036d987a629fd67a5d20c37ec19fb501b95413a Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Thu, 22 Feb 2024 21:35:07 +0000 Subject: [PATCH 2/4] Update version numbers to 0.10.0 --- rp2040-hal/CHANGELOG.md | 9 ++++++--- rp2040-hal/Cargo.toml | 2 +- rp2040-hal/README.md | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/rp2040-hal/CHANGELOG.md b/rp2040-hal/CHANGELOG.md index 1d0433c75..5d474ce8f 100644 --- a/rp2040-hal/CHANGELOG.md +++ b/rp2040-hal/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.10.0] - 2024-??-?? + ### Added - Implement i2c-write-iter traits - #765 @ithinuel @@ -53,7 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Make Spi::free also free up the pins - #719 @SCingolani - Add safety comments to unsafe rom function - #721 @jannic -## [0.9.1] +## [0.9.1] - 2023-11-12 ### Added @@ -77,7 +79,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improve documentation - #692 #696 #697 #698 #699 #702 #704 #709 #714 @9names @fu5ha @ithinuel @jannic - Migrate to eh1\_0 rc 1 - #681 @ithinuel -## [0.9.0] +## [0.9.0] - 2023-09-01 ### MSRV @@ -387,7 +389,8 @@ The Minimum-Supported Rust Version (MSRV) for this release is 1.54. - Initial release -[Unreleased]: https://github.com/rp-rs/rp-hal/compare/v0.9.1...HEAD +[Unreleased]: https://github.com/rp-rs/rp-hal/compare/v0.10.0...HEAD +[0.10.0]: https://github.com/rp-rs/rp-hal/compare/v0.9.1...v0.10.0 [0.9.1]: https://github.com/rp-rs/rp-hal/compare/v0.9.0...v0.9.1 [0.9.0]: https://github.com/rp-rs/rp-hal/compare/v0.8.1...v0.9.0 [0.8.1]: https://github.com/rp-rs/rp-hal/compare/v0.8.0...v0.8.1 diff --git a/rp2040-hal/Cargo.toml b/rp2040-hal/Cargo.toml index e43e43f36..0718629ff 100644 --- a/rp2040-hal/Cargo.toml +++ b/rp2040-hal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rp2040-hal" -version = "0.9.1" +version = "0.10.0" authors = ["The rp-rs Developers"] edition = "2021" homepage = "https://github.com/rp-rs/rp-hal" diff --git a/rp2040-hal/README.md b/rp2040-hal/README.md index 8dae33f5b..1419f975d 100644 --- a/rp2040-hal/README.md +++ b/rp2040-hal/README.md @@ -70,7 +70,7 @@ https://github.com/rp-rs/rp-hal-boards/ for more details. To include this crate in your project, amend your `Cargo.toml` file to include ```toml -rp2040-hal = "0.9.1" +rp2040-hal = "0.10.0" ``` To obtain a copy of the source code (e.g. if you want to propose a bug-fix or From b37424da1238293436efa18002e8bf760f978fca Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sat, 2 Mar 2024 09:05:36 +0000 Subject: [PATCH 3/4] Optimistically set release date to today in CHANGELOG.md --- rp2040-hal/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rp2040-hal/CHANGELOG.md b/rp2040-hal/CHANGELOG.md index 5d474ce8f..42bac8138 100644 --- a/rp2040-hal/CHANGELOG.md +++ b/rp2040-hal/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.10.0] - 2024-??-?? +## [0.10.0] - 2024-03-10 ### Added From 492b8f55e69df4a5715e10c26dc4d6de3e3f92be Mon Sep 17 00:00:00 2001 From: Jan Niehusmann Date: Sun, 10 Mar 2024 14:22:00 +0000 Subject: [PATCH 4/4] Add some missing changelog entries Thanks to 9names for comparing the changelog with the git history --- rp2040-hal/CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rp2040-hal/CHANGELOG.md b/rp2040-hal/CHANGELOG.md index 42bac8138..b9195cbbf 100644 --- a/rp2040-hal/CHANGELOG.md +++ b/rp2040-hal/CHANGELOG.md @@ -30,7 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Update lower VCO frequency limit according to datasheet update - #773 @ithinuel -- bump MSRV to 1.75 +- Bump MSRV to 1.75 - #761 @ithinuel +- Move on-target-tests back to the work space - #762 @ithinuel - Set startup\_delay\_multiplier of XOSC to 64, and make it configurable. This should increase compatibility with boards where the oscillator starts up more slowly than on the Raspberry Pico. - #746 @jannic @@ -54,6 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix RealTimeClock & UsbBus ownership - #725 @jnthbdn - Make Spi::free also free up the pins - #719 @SCingolani - Add safety comments to unsafe rom function - #721 @jannic +- Several cleanups and documentation updates - #716 #718 #720 #743 #763 #767 #776 #777 #778 #779 @jannic @ithinuel ## [0.9.1] - 2023-11-12