@@ -7,13 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ ## [ v0.18.0] - 2021-04-17
11
+
10
12
### Added
11
13
12
14
- RegisterBlock trait (like ` Deref ` , but don't require ` self ` instance,
13
- only for fixed in memory peripherals)
15
+ only for memory fixed peripherals)
14
16
15
17
- Support for registers with alternateGroup
16
18
19
+ - ESP32/XtensaLX6 support.
20
+
21
+ - Field array support.
22
+
23
+ - Add repr(transparent) to Reg struct
24
+
17
25
- Generated crates now contain the git commit hash and date of svd2rust
18
26
compilation.
19
27
@@ -43,8 +51,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
43
51
44
52
- [ breaking-change] make ` write_with_zero ` method ` unsafe ` because the way it is
45
53
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
+
46
66
- [ breaking-change] remove ` Variant<U, ENUM_A> ` , use ` Option<ENUM_A> ` instead
47
67
68
+ - [ breaking-change] Update ` svd-parser ` to ` 0.10 `
69
+
48
70
- split out register size type (` RawType ` ) from ` ResetValue ` trait
49
71
50
72
- ` anyhow ` crate is used for error handling
@@ -63,6 +85,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
63
85
interrupt number handling. The minimum supported ` cortex-m ` version is now
64
86
** 0.7** and ` bare-metal ` is not a dependency anymore.
65
87
88
+ ### Removed
89
+
90
+ - Generated use of the register type aliases in favor of directly referencing ` Reg<REGISTER_SPEC> `
91
+
66
92
## [ v0.17.0] - 2019-12-31
67
93
68
94
### Fixed
@@ -557,7 +583,8 @@ peripheral.register.write(|w| w.field().set());
557
583
558
584
- Initial version of the ` svd2rust ` tool
559
585
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
561
588
[ v0.17.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.16.1...v0.17.0
562
589
[ v0.16.1 ] : https://github.com/rust-embedded/svd2rust/compare/v0.16.0...v0.16.1
563
590
[ v0.16.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.15.2...v0.16.0
0 commit comments