Skip to content

Commit 2e69dee

Browse files
committed
Bump version to 0.18 and add missing CHANGELOG.md entries
Signed-off-by: Daniel Egger <[email protected]>
1 parent a13c1bb commit 2e69dee

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

CHANGELOG.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

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

14+
- ESP32/XtensaLX6 support.
15+
16+
- Field array support.
17+
18+
- Add repr(transparent) to Reg struct
19+
1220
- Generated crates now contain the git commit hash and date of svd2rust
1321
compilation.
1422

@@ -28,8 +36,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2836

2937
### Changed
3038

39+
- Use complete path for cluster names
40+
41+
- Rename some generated variables.
42+
43+
- [breaking-change] Publishes the register spec zero-sized type and move all relevant register traits to that struct.
44+
45+
- [breaking-change] Removes the extra type parameter on Reg, making the register spec the sole authority on the shape of the register.
46+
47+
- Wrap register reader/writer and field readers in newtype wrappers, which significantly improves the documentation output.
48+
49+
- Improve documentation on generated registers and fields
50+
3151
- [breaking-change] remove `Variant<U, ENUM_A>`, use `Option<ENUM_A>` instead
3252

53+
- [breaking-change] Update `svd-parser` to `0.10`
54+
3355
- split out register size type (`RawType`) from `ResetValue` trait
3456

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

73+
### Removed
74+
75+
- Generated use of the register type aliases in favor of directly referencing `Reg<REGISTER_SPEC>`
76+
5177
## [v0.17.0] - 2019-12-31
5278

5379
### Fixed
@@ -542,7 +568,8 @@ peripheral.register.write(|w| w.field().set());
542568

543569
- Initial version of the `svd2rust` tool
544570

545-
[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.17.0...HEAD
571+
[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.18.0...HEAD
572+
[v0.18.0]: https://github.com/rust-embedded/svd2rust/compare/v0.17.0...v0.18.0
546573
[v0.17.0]: https://github.com/rust-embedded/svd2rust/compare/v0.16.1...v0.17.0
547574
[v0.16.1]: https://github.com/rust-embedded/svd2rust/compare/v0.16.0...v0.16.1
548575
[v0.16.0]: https://github.com/rust-embedded/svd2rust/compare/v0.15.2...v0.16.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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)