Skip to content

Commit db64be5

Browse files
therealprofburrbull
authored andcommitted
Bump version to 0.18 and add missing CHANGELOG.md entries
Signed-off-by: Daniel Egger <[email protected]>
1 parent a1d1262 commit db64be5

File tree

3 files changed

+32
-5
lines changed

3 files changed

+32
-5
lines changed

CHANGELOG.md

+29-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.18.0] - 2021-04-17
11+
1012
### Added
1113

1214
- RegisterBlock trait (like `Deref`, but don't require `self` instance,
13-
only for fixed in memory peripherals)
15+
only for memory fixed peripherals)
1416

1517
- Support for registers with alternateGroup
1618

19+
- ESP32/XtensaLX6 support.
20+
21+
- Field array support.
22+
23+
- Add repr(transparent) to Reg struct
24+
1725
- Generated crates now contain the git commit hash and date of svd2rust
1826
compilation.
1927

@@ -43,8 +51,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4351

4452
- [breaking-change] make `write_with_zero` method `unsafe` because the way it is
4553

54+
- Use complete path for cluster names
55+
56+
- Rename some generated variables.
57+
58+
- [breaking-change] Publishes the register spec zero-sized type and move all relevant register traits to that struct.
59+
60+
- [breaking-change] Removes the extra type parameter on Reg, making the register spec the sole authority on the shape of the register.
61+
62+
- Wrap register reader/writer and field readers in newtype wrappers, which significantly improves the documentation output.
63+
64+
- Improve documentation on generated registers and fields
65+
4666
- [breaking-change] remove `Variant<U, ENUM_A>`, use `Option<ENUM_A>` instead
4767

68+
- [breaking-change] Update `svd-parser` to `0.10`
69+
4870
- split out register size type (`RawType`) from `ResetValue` trait
4971

5072
- `anyhow` crate is used for error handling
@@ -63,6 +85,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6385
interrupt number handling. The minimum supported `cortex-m` version is now
6486
**0.7** and `bare-metal` is not a dependency anymore.
6587

88+
### Removed
89+
90+
- Generated use of the register type aliases in favor of directly referencing `Reg<REGISTER_SPEC>`
91+
6692
## [v0.17.0] - 2019-12-31
6793

6894
### Fixed
@@ -557,7 +583,8 @@ peripheral.register.write(|w| w.field().set());
557583

558584
- Initial version of the `svd2rust` tool
559585

560-
[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.17.0...HEAD
586+
[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.18.0...HEAD
587+
[v0.18.0]: https://github.com/rust-embedded/svd2rust/compare/v0.17.0...v0.18.0
561588
[v0.17.0]: https://github.com/rust-embedded/svd2rust/compare/v0.16.1...v0.17.0
562589
[v0.16.1]: https://github.com/rust-embedded/svd2rust/compare/v0.16.0...v0.16.1
563590
[v0.16.0]: https://github.com/rust-embedded/svd2rust/compare/v0.15.2...v0.16.0

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ keywords = [
2323
license = "MIT OR Apache-2.0"
2424
name = "svd2rust"
2525
repository = "https://github.com/rust-embedded/svd2rust/"
26-
version = "0.17.0"
26+
version = "0.18.0"
2727
readme = "README.md"
2828

2929
[[bin]]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ This project is developed and maintained by the [Tools team][team].
1313

1414
## Minimum Supported Rust Version (MSRV)
1515

16-
The **generated code** is guaranteed to compile on stable Rust 1.37.0 and up.
16+
The **generated code** is guaranteed to compile on stable Rust 1.40.0 and up.
1717

18-
If you encounter compilation errors on any stable version newer than 1.37.0, please open an issue.
18+
If you encounter compilation errors on any stable version newer than 1.40.0, please open an issue.
1919

2020
# Testing Locally
2121

0 commit comments

Comments
 (0)