From bebf85d4d9ec829e4f98b282dd9c15922401d259 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Sun, 19 Dec 2021 19:22:15 +0000 Subject: [PATCH 1/4] Set up for 0.3.0 release. Somehow we already had a bunch of commits talking about 0.3.0, but it was never released. Hence why this maybe doesn't change as many version numbers as you might expect. --- CHANGELOG.md => rp2040-hal/CHANGELOG.md | 43 ++++++++++++++++--------- rp2040-hal/Cargo.toml | 2 +- rp2040-hal/README.md | 2 +- 3 files changed, 30 insertions(+), 17 deletions(-) rename CHANGELOG.md => rp2040-hal/CHANGELOG.md (58%) diff --git a/CHANGELOG.md b/rp2040-hal/CHANGELOG.md similarity index 58% rename from CHANGELOG.md rename to rp2040-hal/CHANGELOG.md index bcbcf8d..23605b7 100644 --- a/CHANGELOG.md +++ b/rp2040-hal/CHANGELOG.md @@ -8,24 +8,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added -- implement `rng_core::RngCore` for `RingOscillator` + +- None + +### Changed + +- None + +## [0.3.0] - 2021-12-19 + +### Added +- A README! +- Implementation of the `critical-section` API +- DMA support +- Embedded HAL 1.0 Alpha support +- I²C Controller and Peripheral support +- Multi-core support +- PIO support +- Implementation of `rng_core::RngCore` for `RingOscillator` +- ADC example +- GPIO Interrupt support +- Multi-core FIFO example +- PIO LED Blinky example +- ROM Functions example +- SPI example +- Watchdog example +- ADC documentation ### Changed - Modified PIO API for better ergonomics - -## [0.3.0] - 2021-09-20 - -### Added -- peripheral drivers: Timer(counter) with EH traits, USB, PIO -- examples: Watchdog, GPIO, ADC, i2c, rtic blinky, usb (serial echo, mouse) -- docs: Watchdog -- bsps: adafruit feather -- bsp examples: sparkfun pro micro PIO RGB rainbow LED - -### Changed -- i2c fixes -- spi fixes -- pwm fixes +- Updated PAC to 0.2.0 +- Exported common driver structs from top-level (e.g. it's now `Sio`, not `sio::Sio`) ## [0.2.0] - 2021-08-14 diff --git a/rp2040-hal/Cargo.toml b/rp2040-hal/Cargo.toml index 1a0b32d..0af6d73 100644 --- a/rp2040-hal/Cargo.toml +++ b/rp2040-hal/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rp2040-hal" version = "0.3.0" -authors = ["evan "] +authors = ["The rp-rs Developers"] edition = "2018" homepage = "https://github.com/rp-rs/rp-hal" description = "A Rust Embeded-HAL impl for the rp2040 microcontroller" diff --git a/rp2040-hal/README.md b/rp2040-hal/README.md index 84d411f..dce1529 100644 --- a/rp2040-hal/README.md +++ b/rp2040-hal/README.md @@ -68,7 +68,7 @@ https://github.com/rp-rs/rp-hal/ for more details. To include this crate in your project, amend your `Cargo.toml` file to include ```toml -rp2040-hal = "0.3" +rp2040-hal = "0.3.0" ``` To obtain a copy of the source code (e.g. if you want to propose a bug-fix or From 5701ab431f966062fba4c2382b3bd5b81fc87d57 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Mon, 20 Dec 2021 19:52:31 +0000 Subject: [PATCH 2/4] Revised CHANGELOG. Added extra items to 0.3.0. Reformatted 0.2.0 entry. --- rp2040-hal/CHANGELOG.md | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/rp2040-hal/CHANGELOG.md b/rp2040-hal/CHANGELOG.md index 23605b7..34b4555 100644 --- a/rp2040-hal/CHANGELOG.md +++ b/rp2040-hal/CHANGELOG.md @@ -18,12 +18,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.3.0] - 2021-12-19 ### Added + - A README! - Implementation of the `critical-section` API -- DMA support -- Embedded HAL 1.0 Alpha support +- Embedded HAL 1.0-alpha6 support - I²C Controller and Peripheral support -- Multi-core support +- Multi-core support, including spin-locks and SIO FIFO +- RTC support +- USB Device support +- Timer support - PIO support - Implementation of `rng_core::RngCore` for `RingOscillator` - ADC example @@ -36,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ADC documentation ### Changed + - Modified PIO API for better ergonomics - Updated PAC to 0.2.0 - Exported common driver structs from top-level (e.g. it's now `Sio`, not `sio::Sio`) @@ -44,9 +48,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Initial version with support for Rosc, Xosc, Plls, Watchdog, Clocks, Gpio, Pwm, Adc, Spi, I2C, Resets, Uart +- Updated version with support for: + - Ring Oscillator + - Crystal Oscillator + - Plls + - Watchdog + - Clocks + - GPIO + - PWM + - ADC + - SPI + - I²C + - Resets + - UART + - Hardware divide/modulo -## [0.1.0] +## [0.1.0] - 2021-01-21 - Initial release From 96c2273dce9d2e41599a3492d5fb0edcf129d9f6 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Mon, 20 Dec 2021 19:53:15 +0000 Subject: [PATCH 3/4] Noted 0.3.0 includes many bug fixes. --- rp2040-hal/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/rp2040-hal/CHANGELOG.md b/rp2040-hal/CHANGELOG.md index 34b4555..2e4f4dd 100644 --- a/rp2040-hal/CHANGELOG.md +++ b/rp2040-hal/CHANGELOG.md @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - SPI example - Watchdog example - ADC documentation +- Lots of bug fixes :) ### Changed From 7278c36e93d7d8e62523ce170cb7528470b4a9d0 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Mon, 20 Dec 2021 20:05:40 +0000 Subject: [PATCH 4/4] Add MSRV --- rp2040-hal/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rp2040-hal/CHANGELOG.md b/rp2040-hal/CHANGELOG.md index 2e4f4dd..429a110 100644 --- a/rp2040-hal/CHANGELOG.md +++ b/rp2040-hal/CHANGELOG.md @@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.3.0] - 2021-12-19 +### MSRV + +The Minimum-Supported Rust Version (MSRV) for this release is 1.54. + ### Added - A README!