Skip to content

Commit b0cead1

Browse files
committed
Release v0.10.0
1 parent a0cfead commit b0cead1

File tree

13 files changed

+21
-16
lines changed

13 files changed

+21
-16
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1414

1515
## Unreleased
1616

17+
No changes.
18+
19+
## [v0.10.0] - 2023-11-30
20+
1721
### Breaking changes
1822

1923
- Update `stm32f3` pac to v0.15.1 ([#335])
@@ -732,7 +736,8 @@ let clocks = rcc
732736
[#2]: https://github.com/stm32-rs/stm32f3xx-hal/pull/2
733737

734738
<!-- cargo-release: latest tag -->
735-
[v0.9.1]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.9.1
739+
[v0.10.0]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.10.0
740+
[v0.9.2]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.9.2
736741
[v0.9.0]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.9.0
737742
[v0.8.1]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.8.1
738743
[v0.8.0]: https://github.com/stm32-rs/stm32f3xx-hal/releases/tag/v0.8.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ name = "stm32f3xx-hal"
1313
readme = "README.md"
1414
repository = "https://github.com/stm32-rs/stm32f3xx-hal"
1515
documentation = "https://docs.rs/stm32f3xx-hal"
16-
version = "0.9.2"
16+
version = "0.10.0"
1717
exclude = ["codegen", ".markdownlint.yml"]
1818
resolver = "2"
1919
rust-version = "1.60"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ cortex-m-rt = { version = "0.7.3", features = ["device"] }
5656
# Panic behavior, see https://crates.io/keywords/panic-impl for alternatives
5757
panic-halt = "0.2.0"
5858
# Replace stm32f303xc with your target chip, see next section for more info
59-
stm32f3xx-hal = { version = "0.9.2", features = ["ld", "rt", "stm32f303xc"] }
59+
stm32f3xx-hal = { version = "0.10.0", features = ["ld", "rt", "stm32f303xc"] }
6060
```
6161

6262
We also need to tell Rust about target architecture and how to link our

src/adc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! It can be built for the `STM32F3Discovery` running
88
//! `cargo build --example adc --features=stm32f303xc`
99
//!
10-
//! [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/adc.rs
10+
//! [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/adc.rs
1111
1212
use core::ops::Deref;
1313
use core::{convert::TryInto, marker::PhantomData};
@@ -256,7 +256,7 @@ macro_rules! sp_pins {
256256
///
257257
/// Code example can be seen in [examples/adc.rs].
258258
///
259-
/// [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/adc.rs
259+
/// [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/adc.rs
260260
/// [RM0316]: https://www.st.com/resource/en/reference_manual/dm00094349.pdf
261261
// FIXME(Sh3Rm4n): Soundness hole: Still mutliple sensor objects can be created.
262262
// An idea might be to split out the sensors from CommonAdc similar to the

src/can.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! A usage example of the can peripheral can be found at [examples/can.rs]
1111
//!
12-
//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/can.rs
12+
//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/can.rs
1313
1414
use crate::gpio::{gpioa, gpiob};
1515
use crate::gpio::{PushPull, AF9};

src/dma.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! An example how to use DMA for serial, can be found at [examples/serial_dma.rs]
88
//!
9-
//! [examples/serial_dma.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/serial_dma.rs
9+
//! [examples/serial_dma.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/serial_dma.rs
1010
1111
// To learn about most of the ideas implemented here, check out the DMA section
1212
// of the Embedonomicon: https://docs.rust-embedded.org/embedonomicon/dma.html

src/gpio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
//!
5959
//! [InputPin]: embedded_hal::digital::v2::InputPin
6060
//! [OutputPin]: embedded_hal::digital::v2::OutputPin
61-
//! [examples/toggle.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/toggle.rs
61+
//! [examples/toggle.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/toggle.rs
6262
6363
use core::{convert::Infallible, marker::PhantomData};
6464

@@ -322,7 +322,7 @@ impl<Gpio, Index, Mode> crate::private::Sealed for Pin<Gpio, Index, Mode> {}
322322
///
323323
/// See [examples/gpio_erased.rs] as an example.
324324
///
325-
/// [examples/gpio_erased.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/gpio_erased.rs
325+
/// [examples/gpio_erased.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/gpio_erased.rs
326326
pub type PXx<Mode> = Pin<Gpiox, Ux, Mode>;
327327

328328
impl<Gpio, Mode, const X: u8> Pin<Gpio, U<X>, Mode> {

src/i2c.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! A usage example of the i2c peripheral can be found at [examples/i2c_scanner.rs]
66
//!
7-
//! [examples/i2c_scanner.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/i2c_scanner.rs
7+
//! [examples/i2c_scanner.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/i2c_scanner.rs
88
99
use core::{convert::TryFrom, ops::Deref};
1010

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
6969
For more information, see the [README][].
7070
71-
[README]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/README.md#selecting-the-right-chip
71+
[README]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/README.md#selecting-the-right-chip
7272
7373
### `ld`
7474

src/spi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! A usage example of the can peripheral can be found at [examples/spi.rs]
66
//!
7-
//! [examples/spi.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/spi.rs
7+
//! [examples/spi.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/spi.rs
88
99
use core::{fmt, marker::PhantomData, ops::Deref};
1010

@@ -196,7 +196,7 @@ impl<SPI, Sck, Miso, Mosi, WORD> Spi<SPI, (Sck, Miso, Mosi), WORD> {
196196
///
197197
/// ```
198198
///
199-
/// To get a better example, look [here](https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/spi.rs).
199+
/// To get a better example, look [here](https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/spi.rs).
200200
///
201201
// TODO(Sh3Rm4n): See alternative modes provided besides FullDuplex (as listed in Stm32CubeMx).
202202
pub fn new<Config>(

src/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//! Check out [examples/adc.rs], where a [`Periodic`] timer is used to wake
99
//! up the main-loop regularly.
1010
//!
11-
//! [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/adc.rs
11+
//! [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/adc.rs
1212
1313
use crate::pac::{DCB, DWT};
1414
#[cfg(feature = "enumset")]

src/usb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! See [examples/usb_serial.rs] for a usage example.
88
//!
9-
//! [examples/usb_serial.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/usb_serial.rs
9+
//! [examples/usb_serial.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/usb_serial.rs
1010
1111
use core::fmt;
1212

src/watchdog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! A usage example of the watchdog can be found at [examples/can.rs]
66
//!
7-
//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.9.1/examples/can.rs
7+
//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.10.0/examples/can.rs
88
99
use core::fmt;
1010
use embedded_time::fixed_point::FixedPoint;

0 commit comments

Comments
 (0)