@@ -7,8 +7,16 @@ 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
14
+ - ESP32/XtensaLX6 support.
15
+
16
+ - Field array support.
17
+
18
+ - Add repr(transparent) to Reg struct
19
+
12
20
- Generated crates now contain the git commit hash and date of svd2rust
13
21
compilation.
14
22
@@ -28,8 +36,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
28
36
29
37
### Changed
30
38
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
+
31
51
- [ breaking-change] remove ` Variant<U, ENUM_A> ` , use ` Option<ENUM_A> ` instead
32
52
53
+ - [ breaking-change] Update ` svd-parser ` to ` 0.11 `
54
+
33
55
- split out register size type (` RawType ` ) from ` ResetValue ` trait
34
56
35
57
- ` anyhow ` crate is used for error handling
@@ -48,6 +70,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
48
70
interrupt number handling. The minimum supported ` cortex-m ` version is now
49
71
** 0.7** and ` bare-metal ` is not a dependency anymore.
50
72
73
+ ### Removed
74
+
75
+ - Generated use of the register type aliases in favor of directly referencing ` Reg<REGISTER_SPEC> `
76
+
51
77
## [ v0.17.0] - 2019-12-31
52
78
53
79
### Fixed
@@ -542,7 +568,8 @@ peripheral.register.write(|w| w.field().set());
542
568
543
569
- Initial version of the ` svd2rust ` tool
544
570
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
546
573
[ v0.17.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.16.1...v0.17.0
547
574
[ v0.16.1 ] : https://github.com/rust-embedded/svd2rust/compare/v0.16.0...v0.16.1
548
575
[ v0.16.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.15.2...v0.16.0
0 commit comments