From e0af160c1853d9d1703f08e01c2983a79949f4a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Vi=C3=B6l?= Date: Tue, 14 Dec 2021 08:19:20 +0100 Subject: [PATCH] Release 0.8.2 --- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- README.md | 2 +- src/adc.rs | 2 +- src/can.rs | 2 +- src/dma.rs | 2 +- src/gpio.rs | 4 ++-- src/i2c.rs | 2 +- src/lib.rs | 2 +- src/spi.rs | 4 ++-- src/usb.rs | 2 +- src/watchdog.rs | 2 +- 12 files changed, 18 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 835f487dd..84cdcd144 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +No changes. + +## [v0.8.2] - 2021-12-14 + - Add missing SPI impls for the `gpio-f303` device groups (e.g. stm32f303vc) ([#304]) ## [v0.8.1] - 2021-10-27 @@ -576,6 +580,7 @@ let clocks = rcc [#2]: https://github.com/stm32-rs/stm32f3xx-hal/pull/2 +[v0.8.2]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.8.2 [v0.8.1]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.8.1 [v0.8.0]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.8.0 [v0.7.0]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.7.0 diff --git a/Cargo.toml b/Cargo.toml index 053305fa5..ff51770d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ name = "stm32f3xx-hal" readme = "README.md" repository = "https://github.com/stm32-rs/stm32f3xx-hal" documentation = "https://docs.rs/stm32f3xx-hal" -version = "0.8.1" +version = "0.8.2" exclude = [ "codegen", ".markdownlint.yml" diff --git a/README.md b/README.md index 8af3bdafc..ac7cee566 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ cortex-m-rt = { version = "0.6.13", features = ["device"] } # Panic behaviour, see https://crates.io/keywords/panic-impl for alternatives panic-halt = "0.2.0" # Replace stm32f303xc with your target chip, see next section for more info -stm32f3xx-hal = { version = "0.8.1", features = ["ld", "rt", "stm32f303xc"] } +stm32f3xx-hal = { version = "0.8.2", features = ["ld", "rt", "stm32f303xc"] } ``` We also need to tell Rust about target architecture and how to link our diff --git a/src/adc.rs b/src/adc.rs index cde052c24..f345e825f 100644 --- a/src/adc.rs +++ b/src/adc.rs @@ -7,7 +7,7 @@ //! It can be built for the STM32F3Discovery running //! `cargo build --example adc --features=stm32f303xc` //! -//! [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/adc.rs +//! [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/adc.rs use cortex_m::asm; use embedded_hal::adc::{Channel, OneShot}; diff --git a/src/can.rs b/src/can.rs index 482578126..506894aca 100644 --- a/src/can.rs +++ b/src/can.rs @@ -9,7 +9,7 @@ //! //! A usage example of the can peripheral can be found at [examples/can.rs] //! -//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/can.rs +//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/can.rs use crate::gpio::{gpioa, gpiob}; use crate::gpio::{PushPull, AF7, AF9}; diff --git a/src/dma.rs b/src/dma.rs index ddc296de8..25c0002b7 100644 --- a/src/dma.rs +++ b/src/dma.rs @@ -6,7 +6,7 @@ //! //! An example how to use DMA for serial, can be found at [examples/serial_dma.rs] //! -//! [examples/serial_dma.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/serial_dma.rs +//! [examples/serial_dma.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/serial_dma.rs // To learn about most of the ideas implemented here, check out the DMA section // of the Embedonomicon: https://docs.rust-embedded.org/embedonomicon/dma.html diff --git a/src/gpio.rs b/src/gpio.rs index c75020a52..7d6eb3c18 100644 --- a/src/gpio.rs +++ b/src/gpio.rs @@ -58,7 +58,7 @@ //! //! [InputPin]: embedded_hal::digital::v2::InputPin //! [OutputPin]: embedded_hal::digital::v2::OutputPin -//! [examples/toggle.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/toggle.rs +//! [examples/toggle.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/toggle.rs use core::{convert::Infallible, marker::PhantomData}; @@ -332,7 +332,7 @@ impl crate::private::Sealed for Pin {} /// /// See [examples/gpio_erased.rs] as an example. /// -/// [examples/gpio_erased.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/gpio_erased.rs +/// [examples/gpio_erased.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/gpio_erased.rs pub type PXx = Pin; impl Pin, Mode> { diff --git a/src/i2c.rs b/src/i2c.rs index 63ab6264d..5a6101790 100644 --- a/src/i2c.rs +++ b/src/i2c.rs @@ -4,7 +4,7 @@ //! //! A usage example of the i2c peripheral can be found at [examples/i2c_scanner.rs] //! -//! [examples/i2c_scanner.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/i2c_scanner.rs +//! [examples/i2c_scanner.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/i2c_scanner.rs use core::{convert::TryFrom, ops::Deref}; diff --git a/src/lib.rs b/src/lib.rs index 547e3ea41..bdf3cd1f7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -57,7 +57,7 @@ For more information, see the [README][]. - [README]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/README.md#selecting-the-right-chip + [README]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/README.md#selecting-the-right-chip ### `ld` diff --git a/src/spi.rs b/src/spi.rs index f6be09d5f..73df46dba 100644 --- a/src/spi.rs +++ b/src/spi.rs @@ -4,7 +4,7 @@ //! //! A usage example of the can peripheral can be found at [examples/spi.rs] //! -//! [examples/spi.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/spi.rs +//! [examples/spi.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/spi.rs use core::{fmt, marker::PhantomData, ops::Deref, ptr}; @@ -194,7 +194,7 @@ impl Spi { /// /// ``` /// - /// To get a better example, look [here](https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/spi.rs). + /// To get a better example, look [here](https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/spi.rs). /// // TODO(Sh3Rm4n): See alternative modes provided besides FullDuplex (as listed in Stm32CubeMx). pub fn new( diff --git a/src/usb.rs b/src/usb.rs index cfcbb7409..f61ed1d93 100644 --- a/src/usb.rs +++ b/src/usb.rs @@ -6,7 +6,7 @@ //! //! See [examples/usb_serial.rs] for a usage example. //! -//! [examples/usb_serial.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/usb_serial.rs +//! [examples/usb_serial.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/usb_serial.rs use core::fmt; diff --git a/src/watchdog.rs b/src/watchdog.rs index c571ca828..5e91da3b7 100644 --- a/src/watchdog.rs +++ b/src/watchdog.rs @@ -4,7 +4,7 @@ //! //! A usage example of the watchdog can be found at [examples/can.rs] //! -//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.1/examples/can.rs +//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.8.2/examples/can.rs use core::fmt; use embedded_time::fixed_point::FixedPoint;