Skip to content

Commit 61d14eb

Browse files
bors[bot]burrbull
andcommitted
Merge #367
367: v0.16 r=therealprof a=burrbull r? @therealprof Co-authored-by: Andrey Zgarbul <zgarbul.andrey@gmail.com>
2 parents a28111e + b63a354 commit 61d14eb

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [v0.16.0] - 2019-08-05
11+
1012
### Added
1113

1214
- `variant()` method for field reader and `Variant` enum for fields with reserved values
@@ -15,11 +17,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1517

1618
- Add `write_with_zero` method for registers without reset value
1719

20+
- command line option `--generic_mod` or `-g` for pushing common
21+
structures and traits in separate `generic.rs` file
22+
1823
### Changed
1924

2025
- Field readers and writers use one enum where it is possible
26+
They also were renamed (suffix `_R` for readers, `_W` for writers
27+
`_A` for common enums, `_AW` if writable variants and readable variants are different)
2128

22-
- Replace register and its reader/writer by generic types
29+
- Replace register and its reader/writer by generic types `Reg`, `R` and `W`
2330

2431
- Restore `unsafe` marker on register writer `bits()` method
2532

@@ -464,7 +471,8 @@ peripheral.register.write(|w| w.field().set());
464471

465472
- Initial version of the `svd2rust` tool
466473

467-
[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.15.2...HEAD
474+
[Unreleased]: https://github.com/rust-embedded/svd2rust/compare/v0.16.0...HEAD
475+
[v0.16.0]: https://github.com/rust-embedded/svd2rust/compare/v0.15.2...v0.16.0
468476
[v0.15.2]: https://github.com/rust-embedded/svd2rust/compare/v0.15.1...v0.15.2
469477
[v0.15.1]: https://github.com/rust-embedded/svd2rust/compare/v0.15.0...v0.15.1
470478
[v0.15.0]: https://github.com/rust-embedded/svd2rust/compare/v0.14.0...v0.15.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.15.2"
26+
version = "0.16.0"
2727
readme = "README.md"
2828

2929
[[bin]]

0 commit comments

Comments
 (0)