@@ -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
@@ -41,8 +49,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
41
49
42
50
- [ breaking-change] make ` write_with_zero ` method ` unsafe ` because the way it is
43
51
52
+ - Use complete path for cluster names
53
+
54
+ - Rename some generated variables.
55
+
56
+ - [ breaking-change] Publishes the register spec zero-sized type and move all relevant register traits to that struct.
57
+
58
+ - [ breaking-change] Removes the extra type parameter on Reg, making the register spec the sole authority on the shape of the register.
59
+
60
+ - Wrap register reader/writer and field readers in newtype wrappers, which significantly improves the documentation output.
61
+
62
+ - Improve documentation on generated registers and fields
63
+
44
64
- [ breaking-change] remove ` Variant<U, ENUM_A> ` , use ` Option<ENUM_A> ` instead
45
65
66
+ - [ breaking-change] Update ` svd-parser ` to ` 0.10 `
67
+
46
68
- split out register size type (` RawType ` ) from ` ResetValue ` trait
47
69
48
70
- ` anyhow ` crate is used for error handling
@@ -61,6 +83,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
61
83
interrupt number handling. The minimum supported ` cortex-m ` version is now
62
84
** 0.7** and ` bare-metal ` is not a dependency anymore.
63
85
86
+ ### Removed
87
+
88
+ - Generated use of the register type aliases in favor of directly referencing ` Reg<REGISTER_SPEC> `
89
+
64
90
## [ v0.17.0] - 2019-12-31
65
91
66
92
### Fixed
@@ -555,7 +581,8 @@ peripheral.register.write(|w| w.field().set());
555
581
556
582
- Initial version of the ` svd2rust ` tool
557
583
558
- [ Unreleased ] : https://github.com/rust-embedded/svd2rust/compare/v0.17.0...HEAD
584
+ [ Unreleased ] : https://github.com/rust-embedded/svd2rust/compare/v0.18.0...HEAD
585
+ [ v0.18.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.17.0...v0.18.0
559
586
[ v0.17.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.16.1...v0.17.0
560
587
[ v0.16.1 ] : https://github.com/rust-embedded/svd2rust/compare/v0.16.0...v0.16.1
561
588
[ v0.16.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.15.2...v0.16.0
0 commit comments