Skip to content

Commit 6646a21

Browse files
committed
v0.11.0
1 parent 704913b commit 6646a21

File tree

8 files changed

+74
-25
lines changed

8 files changed

+74
-25
lines changed

CHANGELOG.md

Lines changed: 63 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,48 @@
11
# Changelog
22

33
## [Unreleased]
4-
* Fixed clippy lints:
5-
* Added safety docs for some DMA functions
6-
* Implemented additional conversion utilities for `time`
7-
* **Breaking**: Changed I2S constructors to take less arguments
84

9-
* MSRV increased to 1.52.0
5+
## [v0.11.0] 2021-12-18
6+
107
* **Breaking**: Simplified API for reading device signature
118
values. `VAL::get().read()` becomes `VAL::read()`
12-
* adc: Allow parallel execution of multiple ADCs through `start_conversion()`
13-
* Rename the PeripheralREC object for BDMA2 on 7B3, 7B0, 7A3 parts from BDMA to BDMA2
14-
* pac: Upgrade to stm32-rs v0.14.0
15-
* Add "rt" to the default features
16-
* **Breaking**: `qspi` flag renamed to `xspi`
179
* **Breaking**: SAI `sai_[ab]_ker_ck` methods now return `Hertz` rather than
1810
`Option<Hertz>` and if the clock is stopped they panic with a message.
19-
11+
* **Breaking**: Rename the `quadspi` flag to `xspi`
12+
* **Breaking**: serial: manual control over data length removed, now set automatically based on parity [#297][297]
13+
* Upgrade to cortex-m-rt v0.7.0 [#257][257] [#264][264]
14+
* **Breaking**: If you use RTIC v0.5, you need to depend on it with
15+
`default-features = false, features = ["cortex-m-7"]`. See
16+
[rtic-rs/cortex-m-rtic#509](https://github.com/rtic-rs/cortex-m-rtic/pull/509)
17+
* Add support for OCTOSPI on supported parts, also using the `xspi` feature flag [#230][230]
18+
* Add support for STM32H735 (feature flag `stm32h735` [#235][235]
19+
* Rename the PeripheralREC object for BDMA2 on 7B3, 7B0, 7A3 parts from BDMA to BDMA2
20+
* Fixed clippy lints:
21+
* Added safety docs for some DMA functions
22+
* Implemented additional conversion utilities for `time`
23+
* **Breaking**: Changed I2S constructors to take less arguments
24+
* MSRV increased to 1.52.0
25+
* Add "rt" to the default features [#287][287]
26+
* adc: Allow parallel execution of multiple ADCs through `start_conversion()` [#250][250]
27+
* dma: Add support for MDMA [#186][186]
2028
* ethernet: `ethernet::DesRing` and `ethernet::EthernetDMA` require generic
2129
constants to specify how many transmit / receive buffers to include in
22-
`ethernet::DesRing`. To replicate the previous behaviour, use `DesRing<4, 4>`
23-
* spi: Utilise FIFO in `Transfer` and `Write` implementations
24-
* **Breaking**: manual control over serial data length removed, now set automatically based on parity
25-
26-
## [v0.10.0] 2021-07-xx
30+
`ethernet::DesRing`. To replicate the previous behaviour, use `DesRing<4, 4>` [#247][247]
31+
* ethernet: Avoid creating intermediate references to packed fields [#225][225]
32+
* ethernet: Upgrade smoltcp to v0.8.0 [#292][292]
33+
* ethernet: Fix MAC address filtering [#249][249]
34+
* gpio: Implement IoPin [#256][256]
35+
* gpio: Add InputPin implementation for Alternate Pins [#244][244]
36+
* i2c: Fix scldec/sdadel and adjust i2c divider calculations [#252][252]
37+
* pac: Upgrade to stm32-rs v0.14.0 [#240][240]
38+
* quadspi: Add support for flash memory
39+
* rng: Implement rand_core::RngCore and support all integers in Rng [#284][284]
40+
* sdmmc: Implement [embedded-sdmmc](https://github.com/rust-embedded-community/embedded-sdmmc-rs) traits [#262][262]
41+
* spi: use the FIFO in Transfer and Write implementations [#269][269]
42+
* serial: Improve sync mode support, add additional config options [#261][261] [#267][267]
43+
* serial: Fix parity configuration option [#242][242]
44+
45+
## [v0.10.0] 2021-07-21
2746

2847
* **Breaking**: Don't reset peripheral in DMA1/2 `StreamsTuple::new()` method #229
2948
* adc: Add `free()` method for ADC12 #213
@@ -35,8 +54,6 @@
3554
* spi: Add more hardware CS features #216
3655
* timers: Better calculations for `set_timeout_ticks` #208
3756

38-
* **Breaking**: Rename the `quadspi` flag to `xspi`
39-
4057
## [v0.9.0] 2021-03-12
4158

4259
* Updates `cortex-m` to v0.7.1. `cortex-m` v0.6.5+ [are forward compatible with
@@ -160,7 +177,8 @@
160177
* Upgrade to stm32-rs v0.9.0 (including svd2rust v0.16)
161178
* Started Changelog
162179

163-
[Unreleased]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.10.0...HEAD
180+
[Unreleased]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.11.0...HEAD
181+
[v0.11.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.10.0...v0.11.0
164182
[v0.10.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.9.0...v0.10.0
165183
[v0.9.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.8.0...v0.9.0
166184
[v0.8.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.7.1...v0.8.0
@@ -170,3 +188,29 @@
170188
[v0.5.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.4.0...v0.5.0
171189
[v0.4.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.3.0...v0.4.0
172190
[v0.3.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.2.1...v0.3.0
191+
192+
[186]: https://github.com/stm32-rs/stm32h7xx-hal/pull/186
193+
[225]: https://github.com/stm32-rs/stm32h7xx-hal/pull/225
194+
[230]: https://github.com/stm32-rs/stm32h7xx-hal/pull/230
195+
[235]: https://github.com/stm32-rs/stm32h7xx-hal/pull/235
196+
[240]: https://github.com/stm32-rs/stm32h7xx-hal/pull/240
197+
[242]: https://github.com/stm32-rs/stm32h7xx-hal/pull/242
198+
[244]: https://github.com/stm32-rs/stm32h7xx-hal/pull/244
199+
[247]: https://github.com/stm32-rs/stm32h7xx-hal/pull/247
200+
[249]: https://github.com/stm32-rs/stm32h7xx-hal/pull/249
201+
[250]: https://github.com/stm32-rs/stm32h7xx-hal/pull/250
202+
[252]: https://github.com/stm32-rs/stm32h7xx-hal/pull/252
203+
[256]: https://github.com/stm32-rs/stm32h7xx-hal/pull/256
204+
[257]: https://github.com/stm32-rs/stm32h7xx-hal/pull/257
205+
[261]: https://github.com/stm32-rs/stm32h7xx-hal/pull/261
206+
[262]: https://github.com/stm32-rs/stm32h7xx-hal/pull/262
207+
[264]: https://github.com/stm32-rs/stm32h7xx-hal/pull/264
208+
[267]: https://github.com/stm32-rs/stm32h7xx-hal/pull/267
209+
[269]: https://github.com/stm32-rs/stm32h7xx-hal/pull/269
210+
[284]: https://github.com/stm32-rs/stm32h7xx-hal/pull/284
211+
[287]: https://github.com/stm32-rs/stm32h7xx-hal/pull/287
212+
[292]: https://github.com/stm32-rs/stm32h7xx-hal/pull/292
213+
<<<<<<< HEAD
214+
=======
215+
[297]: https://github.com/stm32-rs/stm32h7xx-hal/pull/297
216+
>>>>>>> 566dfc4... Update CHANGELOG

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stm32h7xx-hal"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
authors = ["Andrew Straw <strawman@astraw.com>",
55
"Richard Meadows <richard@richard.fish>",
66
"Henrik Böving <hargonix@gmail.com>",
@@ -21,7 +21,7 @@ readme = "README.md"
2121
exclude = [".gitignore"]
2222

2323
[package.metadata.docs.rs]
24-
features = ["stm32h743v", "xspi", "sdmmc", "fmc", "usb_hs", "rtc", "ethernet", "ltdc", "crc"]
24+
features = ["stm32h743v", "rt", "xspi", "sdmmc", "fmc", "usb_hs", "rtc", "ethernet", "ltdc", "crc", "rand"]
2525
targets = ["thumbv7em-none-eabihf"]
2626

2727
[dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ target device feature must be specified in the `Cargo.toml` file:
7171
[dependencies]
7272
cortex-m = "0.7.1"
7373
cortex-m-rt = "0.6.12"
74-
stm32h7xx-hal = {version = "0.10.0", features = ["stm32h743v","rt"]}
74+
stm32h7xx-hal = {version = "0.11.0", features = ["stm32h743v","rt"]}
7575
```
7676

7777
If you are unfamiliar with embedded development using Rust, there are

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ Checkout in a clean tree and publish
4545
```
4646
cd [clean tree]
4747
git pull upstream
48-
cargo publish --features stm32h743,rt
48+
cargo publish --features stm32h743
4949
```

src/dma/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
//! ## Examples
7777
//!
7878
//! - [Memory to Memory Transfer](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/dma.rs)
79+
//! - [I2C Read using Basic DMA (BDMA)](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/i2c4_bdma.rs)
80+
//! - [Serial Transmit using DMA](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/serial-dma.rs)
81+
//! - [SPI using DMA](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/spi-dma.rs)
82+
//! - [SPI using DMA and the RTIC framework](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/spi-dma-rtic.rs)
7983
//! - [Memory to Memory Transfer using Master DMA(MDMA)](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/mdma.rs)
8084
//! - [Using MDMA with multiple beats per burst](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/mdma_bursts.rs)
8185
//!

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
//!
4646
//! * [Direct Memory Access (DMA)](crate::dma)
4747
//! * [Cyclic Redundancy Check (CRC)](crate::crc) Feature gate `crc`
48-
//! * [Random Number Generator](crate::rng) ([rand_core::RngCore](rand_core::RngCore) is implemented under the`rand` feature gate)
48+
//! * [Random Number Generator](crate::rng) ([rand_core::RngCore](rand_core::RngCore) is implemented under the `rand` feature gate)
4949
//! * [System Window Watchdog](crate::watchdog)
5050
5151
#![cfg_attr(not(test), no_std)]

src/sdmmc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! # Examples
88
//!
9-
//! - [SDMMC example applicatio](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/sdmmc.rs)
9+
//! - [SDMMC example application](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/sdmmc.rs)
1010
//!
1111
//! ## IO Setup
1212
//!

src/xspi/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
//! ```
6363
//! use stm32h7xx_hal::xspi;
6464
//! let config = xspi::Config::new(12.mhz()).fifo_threshold(16);
65+
//! ```
6566
//!
6667
//! # Hyperbus
6768
//!

0 commit comments

Comments
 (0)