Skip to content

Commit b60bea0

Browse files
authored
Merge pull request #269 from stm32-rs/v0.8.0
v0.8.0
2 parents 288730e + 5467bc1 commit b60bea0

38 files changed

+155
-95
lines changed

CHANGELOG.md

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,69 @@
22

33
## [Unreleased]
44

5+
## [v0.8.0] 2019-07-28
6+
57
Family-specific:
6-
* F469: Renamed 48MSEL to CK48MSEL to avoid leading numerals
7-
* L0: Renamed 1_8V constants to V1_8 (etc) to avoid leading numerals
8+
* F1:
9+
* FLASH ACR LATENCY field (#221)
10+
* ADC definitions (#233)
11+
* BKP definitions (#235, #256)
12+
* RTC definitions (#237)
13+
* Fix PLLMUL confusion (#259)
14+
* F2:
15+
* ETH definitions (#252)
16+
* F4:
17+
* F469: Renamed 48MSEL to CK48MSEL to avoid leading numerals (#199)
18+
* F411: Fixed missing interrupts (#268)
19+
* OTG HS peripheral fixes (#230)
20+
* L0: Renamed 1_8V constants to V1_8 (etc) to avoid leading numerals (#199)
21+
* L4:
22+
* Add nBOOT0 and nSWBOOT0 to FLASH OPTR (#217);w
23+
* L4x2: Document USB registers (#195)
24+
* L4x3: Add missing CRCCR register (#219)
25+
* L4x5: Fix wrong RNG interrupt value (#268)
26+
* G0:
27+
* Renamed devices to STM32G0x0 and STM32G0x1 (#200)
28+
* DMA patch (#228)
29+
* G4:
30+
* Initial support (#229)
31+
* H7:
32+
* Fix width of ETHERNET_DMA.DMAMR.INTM (#201)
33+
* Fix DMA SC?R and cluster streams (#202)
34+
* Document DMAMUX{1,2} and split flag fields (#203)
35+
* Add missing DBGMCU (#204)
36+
* Fix CFG.FTHV/L spelling (#205)
37+
* RCC definitions and patches (#206, #242)
38+
* Update SVD file to ST version 1.4 (#208)
39+
* Fix MTLTxQUR and PPSCTRL (#211)
40+
* SPI DXPIE/TXPIE set to read-write (#215)
41+
* Fix Flash register access and RCC USART/UART field names (#218)
42+
* ADC definitions and fixes (#231, #244, #264)
43+
* LPTIM definitions (#240)
44+
* RNG definitions (#246)
45+
* Split into four devices: H743/H743v/H753/H753v (#247)
846

947
Common:
1048
* Updated svdpatch.py to prohibit enumerated values with leading numerals
49+
(#199)
50+
* PAR register added to DMA cluster on many families (#214)
51+
* NotHalt renamed to NotHalf for DMA HTIF fields (#216)
52+
* Timers:
53+
* TIM1 and CKD descriptions (#220)
54+
* TIM CCMR (#223)
55+
* TIM3/4 16-bit and definitions (#241)
56+
* Advanced timer definitions (#267)
57+
* DAC refactor (#234)
58+
* SAI definitions (#249)
59+
* FMC/FSMC definitions (#253, #265)
60+
* CAN definitoins (#254)
61+
* DMA and LPTIM enums updated to new numeric format (#262)
62+
* `async` in ADC renamed `asynchronous` since it's a keyword now (#263)
63+
64+
Thanks to:
65+
66+
[@nickray] [@jordens] [@richardeoin] [@mabezdev] [@burrbull] [@dotcypress]
67+
[@albru123]
1168

1269
## [v0.7.0] 2019-04-22
1370

@@ -161,7 +218,8 @@ work in this release!
161218
* Fix nvicPrioBits being incorrect in many STM32s (de117ef)
162219
* Add support for specifying interrupts and modifying CPU node
163220

164-
[Unreleased]: https://github.com/stm32-rs/stm32-rs/compare/v0.7.0...HEAD
221+
[Unreleased]: https://github.com/stm32-rs/stm32-rs/compare/v0.8.0...HEAD
222+
[v0.8.0]: https://github.com/stm32-rs/stm32-rs/compare/v0.7.0...v0.8.0
165223
[v0.7.0]: https://github.com/stm32-rs/stm32-rs/compare/v0.6.0...v0.7.0
166224
[v0.6.0]: https://github.com/stm32-rs/stm32-rs/compare/v0.5.0...v0.6.0
167225
[v0.5.0]: https://github.com/stm32-rs/stm32-rs/compare/v0.4.0...v0.5.0
@@ -195,3 +253,6 @@ work in this release!
195253
[@astro]: https://github.com/astro
196254
[@jkristell]: https://github.com/jkristell
197255
[@solderjs]: https://github.com/solderjs
256+
[@nickray]: https://github.com/nickray
257+
[@richardeoin]: https://github.com/richardeoin
258+
[@mabezdev]: https://github.com/mabezdev

scripts/makecrates.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
makecrates.py
3-
Copyright 2017 Adam Greig
3+
Copyright 2017-2019 Adam Greig
44
Licensed under the MIT and Apache 2.0 licenses.
55
66
Autogenerate the crate Cargo.toml and src/lib.rs file based on available
@@ -15,8 +15,8 @@
1515
import os.path
1616
import yaml
1717

18-
VERSION = "0.7.0"
19-
SVD2RUST_VERSION = "0.14.0"
18+
VERSION = "0.8.0"
19+
SVD2RUST_VERSION = "0.15.0"
2020

2121
CRATE_DOC_FEATURES = {
2222
"stm32f0": ["rt", "stm32f0x0", "stm32f0x1", "stm32f0x2", "stm32f0x8"],
@@ -31,16 +31,15 @@
3131
"stm32l1": ["rt", "stm32l100", "stm32l151", "stm32l162"],
3232
"stm32l4": ["rt", "stm32l4x1", "stm32l4x5"],
3333
"stm32g0": ["rt", "stm32g0x0", "stm32g0x1"],
34-
"stm32g4": ["rt", "stm32g431", "stm32g441", "stm32g471", "stm32g473",
35-
"stm32g474", "stm32g483", "stm32g484"]
34+
"stm32g4": ["rt", "stm32g431", "stm32g441", "stm32g474", "stm32g484"]
3635
}
3736

3837
CARGO_TOML_TPL = """\
3938
[package]
4039
edition = "2018"
4140
name = "{crate}"
4241
version = "{version}"
43-
authors = ["Adam Greig <adam@adamgreig.com>"]
42+
authors = ["Adam Greig <adam@adamgreig.com>", "stm32-rs Contributors"]
4443
description = "Device support crates for {family} devices"
4544
repository = "https://github.com/stm32-rs/stm32-rs"
4645
readme = "README.md"
@@ -55,7 +54,7 @@
5554
5655
[dependencies.cortex-m-rt]
5756
optional = true
58-
version = "0.6.8"
57+
version = "0.6.10"
5958
6059
[package.metadata.docs.rs]
6160
features = {docs_features}

stm32f0/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
edition = "2018"
33
name = "stm32f0"
4-
version = "0.7.0"
5-
authors = ["Adam Greig <adam@adamgreig.com>"]
4+
version = "0.8.0"
5+
authors = ["Adam Greig <adam@adamgreig.com>", "stm32-rs Contributors"]
66
description = "Device support crates for STM32F0 devices"
77
repository = "https://github.com/stm32-rs/stm32-rs"
88
readme = "README.md"
@@ -17,7 +17,7 @@ cortex-m = ">=0.5.8,<0.7"
1717

1818
[dependencies.cortex-m-rt]
1919
optional = true
20-
version = "0.6.8"
20+
version = "0.6.10"
2121

2222
[package.metadata.docs.rs]
2323
features = ['rt', 'stm32f0x0', 'stm32f0x1', 'stm32f0x2', 'stm32f0x8']

stm32f0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ compile the device(s) you want. To use, in your Cargo.toml:
1515

1616
```toml
1717
[dependencies.stm32f0]
18-
version = "0.7.0"
18+
version = "0.8.0"
1919
features = ["stm32f0x0", "rt"]
2020
```
2121

@@ -32,7 +32,7 @@ gpioa.odr.modify(|_, w| w.odr0().set_bit());
3232
```
3333

3434
For full details on the autogenerated API, please see:
35-
https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api
35+
https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api
3636

3737
## Supported Devices
3838

stm32f0/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Peripheral access API for STM32F0 microcontrollers
22
//! (generated using [svd2rust](https://github.com/rust-embedded/svd2rust)
3-
//! 0.14.0)
3+
//! 0.15.0)
44
//!
55
//! You can find an overview of the API here:
6-
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api)
6+
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api)
77
//!
88
//! For more details see the README here:
99
//! [stm32-rs](https://github.com/stm32-rs/stm32-rs)

stm32f1/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
edition = "2018"
33
name = "stm32f1"
4-
version = "0.7.0"
5-
authors = ["Adam Greig <adam@adamgreig.com>"]
4+
version = "0.8.0"
5+
authors = ["Adam Greig <adam@adamgreig.com>", "stm32-rs Contributors"]
66
description = "Device support crates for STM32F1 devices"
77
repository = "https://github.com/stm32-rs/stm32-rs"
88
readme = "README.md"
@@ -17,7 +17,7 @@ cortex-m = ">=0.5.8,<0.7"
1717

1818
[dependencies.cortex-m-rt]
1919
optional = true
20-
version = "0.6.8"
20+
version = "0.6.10"
2121

2222
[package.metadata.docs.rs]
2323
features = ['rt', 'stm32f100', 'stm32f101', 'stm32f102', 'stm32f103', 'stm32f107']

stm32f1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ compile the device(s) you want. To use, in your Cargo.toml:
1515

1616
```toml
1717
[dependencies.stm32f1]
18-
version = "0.7.0"
18+
version = "0.8.0"
1919
features = ["stm32f100", "rt"]
2020
```
2121

@@ -32,7 +32,7 @@ gpioa.odr.modify(|_, w| w.odr0().set_bit());
3232
```
3333

3434
For full details on the autogenerated API, please see:
35-
https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api
35+
https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api
3636

3737
## Supported Devices
3838

stm32f1/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Peripheral access API for STM32F1 microcontrollers
22
//! (generated using [svd2rust](https://github.com/rust-embedded/svd2rust)
3-
//! 0.14.0)
3+
//! 0.15.0)
44
//!
55
//! You can find an overview of the API here:
6-
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api)
6+
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api)
77
//!
88
//! For more details see the README here:
99
//! [stm32-rs](https://github.com/stm32-rs/stm32-rs)

stm32f2/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
edition = "2018"
33
name = "stm32f2"
4-
version = "0.7.0"
5-
authors = ["Adam Greig <adam@adamgreig.com>"]
4+
version = "0.8.0"
5+
authors = ["Adam Greig <adam@adamgreig.com>", "stm32-rs Contributors"]
66
description = "Device support crates for STM32F2 devices"
77
repository = "https://github.com/stm32-rs/stm32-rs"
88
readme = "README.md"
@@ -17,7 +17,7 @@ cortex-m = ">=0.5.8,<0.7"
1717

1818
[dependencies.cortex-m-rt]
1919
optional = true
20-
version = "0.6.8"
20+
version = "0.6.10"
2121

2222
[package.metadata.docs.rs]
2323
features = ['rt', 'stm32f215', 'stm32f217']

stm32f2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ compile the device(s) you want. To use, in your Cargo.toml:
1515

1616
```toml
1717
[dependencies.stm32f2]
18-
version = "0.7.0"
18+
version = "0.8.0"
1919
features = ["stm32f215", "rt"]
2020
```
2121

@@ -32,7 +32,7 @@ gpioa.odr.modify(|_, w| w.odr0().set_bit());
3232
```
3333

3434
For full details on the autogenerated API, please see:
35-
https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api
35+
https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api
3636

3737
## Supported Devices
3838

stm32f2/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Peripheral access API for STM32F2 microcontrollers
22
//! (generated using [svd2rust](https://github.com/rust-embedded/svd2rust)
3-
//! 0.14.0)
3+
//! 0.15.0)
44
//!
55
//! You can find an overview of the API here:
6-
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api)
6+
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api)
77
//!
88
//! For more details see the README here:
99
//! [stm32-rs](https://github.com/stm32-rs/stm32-rs)

stm32f3/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
edition = "2018"
33
name = "stm32f3"
4-
version = "0.7.0"
5-
authors = ["Adam Greig <adam@adamgreig.com>"]
4+
version = "0.8.0"
5+
authors = ["Adam Greig <adam@adamgreig.com>", "stm32-rs Contributors"]
66
description = "Device support crates for STM32F3 devices"
77
repository = "https://github.com/stm32-rs/stm32-rs"
88
readme = "README.md"
@@ -17,7 +17,7 @@ cortex-m = ">=0.5.8,<0.7"
1717

1818
[dependencies.cortex-m-rt]
1919
optional = true
20-
version = "0.6.8"
20+
version = "0.6.10"
2121

2222
[package.metadata.docs.rs]
2323
features = ['rt', 'stm32f303', 'stm32f373', 'stm32f3x8']

stm32f3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ compile the device(s) you want. To use, in your Cargo.toml:
1515

1616
```toml
1717
[dependencies.stm32f3]
18-
version = "0.7.0"
18+
version = "0.8.0"
1919
features = ["stm32f301", "rt"]
2020
```
2121

@@ -32,7 +32,7 @@ gpioa.odr.modify(|_, w| w.odr0().set_bit());
3232
```
3333

3434
For full details on the autogenerated API, please see:
35-
https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api
35+
https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api
3636

3737
## Supported Devices
3838

stm32f3/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Peripheral access API for STM32F3 microcontrollers
22
//! (generated using [svd2rust](https://github.com/rust-embedded/svd2rust)
3-
//! 0.14.0)
3+
//! 0.15.0)
44
//!
55
//! You can find an overview of the API here:
6-
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api)
6+
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api)
77
//!
88
//! For more details see the README here:
99
//! [stm32-rs](https://github.com/stm32-rs/stm32-rs)

stm32f4/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
edition = "2018"
33
name = "stm32f4"
4-
version = "0.7.0"
5-
authors = ["Adam Greig <adam@adamgreig.com>"]
4+
version = "0.8.0"
5+
authors = ["Adam Greig <adam@adamgreig.com>", "stm32-rs Contributors"]
66
description = "Device support crates for STM32F4 devices"
77
repository = "https://github.com/stm32-rs/stm32-rs"
88
readme = "README.md"
@@ -17,7 +17,7 @@ cortex-m = ">=0.5.8,<0.7"
1717

1818
[dependencies.cortex-m-rt]
1919
optional = true
20-
version = "0.6.8"
20+
version = "0.6.10"
2121

2222
[package.metadata.docs.rs]
2323
features = ['rt', 'stm32f401', 'stm32f407', 'stm32f413', 'stm32f469']

stm32f4/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ compile the device(s) you want. To use, in your Cargo.toml:
1515

1616
```toml
1717
[dependencies.stm32f4]
18-
version = "0.7.0"
18+
version = "0.8.0"
1919
features = ["stm32f401", "rt"]
2020
```
2121

@@ -32,7 +32,7 @@ gpioa.odr.modify(|_, w| w.odr0().set_bit());
3232
```
3333

3434
For full details on the autogenerated API, please see:
35-
https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api
35+
https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api
3636

3737
## Supported Devices
3838

stm32f4/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Peripheral access API for STM32F4 microcontrollers
22
//! (generated using [svd2rust](https://github.com/rust-embedded/svd2rust)
3-
//! 0.14.0)
3+
//! 0.15.0)
44
//!
55
//! You can find an overview of the API here:
6-
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.14.0/svd2rust/#peripheral-api)
6+
//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.15.0/svd2rust/#peripheral-api)
77
//!
88
//! For more details see the README here:
99
//! [stm32-rs](https://github.com/stm32-rs/stm32-rs)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy