diff --git a/CHANGELOG.md b/CHANGELOG.md index b489f17e..a54bf686 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.16.2] - 2023-06-27 + ### Changed - enable `defmt` feature for VSCode, `set_alarm` takes `Into` [#660] @@ -21,9 +23,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [v0.16.1] - 2023-06-24 - - bors bot replaced with GH merge queue - - Integrate new version of stm32_i2s (v0.5) to enable full-duplex operation - - Add a rtic example to show how to do full-duplex i2s + - bors bot replaced with GH merge queue [#652] + - Integrate new version of stm32_i2s (v0.5) to enable full-duplex operation [#637] + - Add a rtic example to show how to do full-duplex i2s [#637] ### Changed @@ -32,7 +34,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - - `into_mode` for `ErasedPin` and `PartiallyErasedPin` + - `into_mode` for `ErasedPin` and `PartiallyErasedPin` [#647] - Extended 64-bit monotonic timer [#640] - Basic blocking QSPI interface [#645] - Rtc: add subsecond reading, add interrupts [#446] @@ -46,8 +48,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). [#632]: https://github.com/stm32-rs/stm32f4xx-hal/pull/632 [#635]: https://github.com/stm32-rs/stm32f4xx-hal/pull/635 [#636]: https://github.com/stm32-rs/stm32f4xx-hal/pull/636 +[#637]: https://github.com/stm32-rs/stm32f4xx-hal/pull/637 [#640]: https://github.com/stm32-rs/stm32f4xx-hal/pull/640 [#645]: https://github.com/stm32-rs/stm32f4xx-hal/pull/645 +[#647]: https://github.com/stm32-rs/stm32f4xx-hal/pull/647 +[#652]: https://github.com/stm32-rs/stm32f4xx-hal/pull/652 [#655]: https://github.com/stm32-rs/stm32f4xx-hal/pull/655 ## [v0.16.0] - 2023-05-07 @@ -894,7 +899,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Support for stm32f407 and stm32f429. -[Unreleased]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.16.1...HEAD +[Unreleased]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.16.2...HEAD +[v0.16.2]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.16.1...v0.16.2 [v0.16.1]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.16.0...v0.16.1 [v0.16.0]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.15.0...v0.16.0 [v0.15.0]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.14.0...v0.15.0 diff --git a/Cargo.toml b/Cargo.toml index 79ec5bce..87199432 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ license = "0BSD" name = "stm32f4xx-hal" readme = "README.md" repository = "https://github.com/stm32-rs/stm32f4xx-hal" -version = "0.16.1" +version = "0.16.2" [package.metadata.docs.rs] features = ["stm32f429", "usb_fs", "can", "i2s", "fsmc_lcd", "rtic", "defmt"] diff --git a/README.md b/README.md index f2a1772f..75adf040 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ cortex-m-rt = "0.7" panic-halt = "0.2" [dependencies.stm32f4xx-hal] -version = "0.16.1" +version = "0.16.2" features = ["stm32f407"] # replace the model of your microcontroller here # and add other required features ``` diff --git a/src/serial/uart_impls.rs b/src/serial/uart_impls.rs index 234647f8..56530e66 100644 --- a/src/serial/uart_impls.rs +++ b/src/serial/uart_impls.rs @@ -31,6 +31,7 @@ pub trait Instance: crate::Sealed + rcc::Enable + rcc::Reset + rcc::BusClock + C } pub trait RegisterBlockImpl: crate::Sealed { + #[allow(clippy::new_ret_no_self)] fn new, WORD>( uart: UART, pins: (impl Into>, impl Into>),