Skip to content

Commit cad583d

Browse files
committed
v0.7.0
1 parent 74ab7e0 commit cad583d

File tree

5 files changed

+47
-11
lines changed

5 files changed

+47
-11
lines changed

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22

33
## [Unreleased]
44

5+
## [v0.7.0] 2020-09-03
6+
7+
* **Breaking**: Fix PWM pin types. See #110
8+
* Add QSPI support
9+
* Add SDMMC support
10+
* Add Ethernet support
11+
* Add FMC support
12+
* spi: add new configuration options
13+
* i2c: fix i2c bus clock frequency calculation
14+
* i2c: extend write duration until transaction finishes
15+
* timer: Fix timer first cycle invalid #72
16+
* timer: Add set_timeout method
17+
* adc: add method to initialise ADC1 and ADC2 together, see examples
18+
* Added method to switch to VOS0 (480MHz)
19+
* Allow external HSE clock input (bypass mode)
20+
* Use ACLK (AXI clock) frequency for calculating flash waitstates
21+
* pll: Add fractional strategies
22+
* pll: fix very subtle error in PLL Q,R frequencies
23+
* serial: rename usart method to serial, will be depreciated in future
24+
* examples: Added logging framework
25+
* MSRV increased to 1.43.0
26+
527
## [v0.6.0] 2020-06-25
628

729
* **Breaking:** Peripheral driver constructors now consume a peripheralREC
@@ -54,8 +76,9 @@
5476
* Upgrade to stm32-rs v0.9.0 (including svd2rust v0.16)
5577
* Started Changelog
5678

57-
[Unreleased]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.6.0...HEAD
58-
[v0.6.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.4.0...v0.5.0
79+
[Unreleased]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.7.0...HEAD
80+
[v0.7.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.6.0...v0.7.0
81+
[v0.6.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.5.0...v0.6.0
5982
[v0.5.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.4.0...v0.5.0
6083
[v0.4.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.3.0...v0.4.0
6184
[v0.3.0]: https://github.com/stm32-rs/stm32h7xx-hal/compare/v0.2.1...v0.3.0

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[package]
22
name = "stm32h7xx-hal"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
authors = ["Andrew Straw <[email protected]>",
55
"Richard Meadows <[email protected]>",
66
"Henrik Böving <[email protected]>",
77
"Jan Adä <[email protected]>",
88
"Robert Jördens <[email protected]>",
9+
"Ryan Summers <[email protected]>",
10+
"Matthew Meyer <[email protected]>",
911
"Florian Jung <[email protected]>"]
1012
edition = "2018"
1113
categories = ["embedded", "hardware-support", "no-std"]
@@ -18,7 +20,7 @@ readme = "README.md"
1820
exclude = [".gitignore"]
1921

2022
[package.metadata.docs.rs]
21-
features = ["stm32h743", "rt", "quadspi", "sdmmc"]
23+
features = ["stm32h743", "rt", "quadspi", "sdmmc", "fmc", "ethernet", "lan8742a"]
2224
targets = ["thumbv7em-none-eabihf"]
2325

2426
[dependencies]

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,22 @@ linker errors, uncomment the correct `FLASH` section definition in memory.x
5252
Getting Started
5353
---------------
5454

55-
The `examples` folder contains several example programs. To compile
56-
them, one must specify the target device as cargo feature:
55+
The [examples folder](examples/) contains several example programs. To compile
56+
them, specify the target device in a cargo feature:
57+
5758
```
5859
$ cargo build --features=stm32h743v,rt
5960
```
6061

62+
See the [Examples README](examples/README.md) for more details.
63+
6164
To use stm32h7xx-hal as a dependency in a standalone project the
6265
target device feature must be specified in the `Cargo.toml` file:
63-
```
66+
```toml
6467
[dependencies]
6568
cortex-m = "0.6.2"
6669
cortex-m-rt = "0.6.12"
67-
stm32h7xx-hal = {version = "0.6.0", features = ["stm32h743v","rt"]}
70+
stm32h7xx-hal = {version = "0.7.0", features = ["stm32h743v","rt"]}
6871
```
6972

7073
If you are unfamiliar with embedded development using Rust, there are
@@ -93,6 +96,7 @@ Board | Manufacturer | BSP / Examples?
9396
[Daisy Seed](https://www.electro-smith.com/daisy/daisy) | Electrosmith |
9497
[Portenta H7](https://store.arduino.cc/portenta-h7) ⚠️ | Arduino |
9598
[OpenH743I-C](https://www.waveshare.com/openh743i-c-standard.htm) | Waveshare |
99+
[Toasty](https://www.tindie.com/products/webtronics/toasty-480mhz-stm32-usb-development-board/) | Webtronics |
96100

97101
⚠️: Programming this board via its USB connector requires interacting with
98102
an unknown proprietary(?) bootloader. This bootloader may make it difficult

src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@
2323
//! * [Serial Peripheral Interface (SPI)](crate::spi)
2424
//! * [Serial Data (USART/UART)](crate::serial)
2525
//! * [Serial Audio Interface](crate::sai)
26+
//! * [Quad SPI](crate::qspi) Feature gate `qspi`
27+
//! * [Ethernet](crate::ethernet) Feature gate `ethernet`
28+
//!
29+
//! External Memory
30+
//!
31+
//! * [Flexible Memory Controller (FMC)](crate::fmc) Feature gate `fmc`
32+
//! * [SD Card (SDMMC)](crate::sdmmc) Feature gate `sdmmc`
2633
//!
2734
//! Timing functions
2835
//!

src/sdmmc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
//! .freeze(vos, &dp.SYSCFG);
2727
//! ```
2828
//!
29-
//! There is an [extension trait](crate::SdmmcExt) implemented for the `SDMMC1`
30-
//! and `SDMMC2` periperhals for easy initialisation.
29+
//! There is an [extension trait](crate::sdmmc::SdmmcExt) implemented for the
30+
//! `SDMMC1` and `SDMMC2` periperhals for easy initialisation.
3131
//!
3232
//! ```
3333
//! // Create SDMMC
@@ -46,7 +46,7 @@
4646
//! }
4747
//! ```
4848
//!
49-
//! The [`card()`](crate::Sdmmc::card) method returns useful information about
49+
//! The [`card()`](crate::sdmmc::Sdmmc::card) method returns useful information about
5050
//! the card.
5151
//!
5252
//! ```

0 commit comments

Comments
 (0)