@@ -7,16 +7,24 @@ 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
17
19
- New ` -m ` switch generates a ` mod.rs ` file instead of ` lib.rs ` , which can
18
20
be used as a module inside a crate without further modification.
19
21
22
+ - ESP32/XtensaLX6 support.
23
+
24
+ - Field array support.
25
+
26
+ - Add repr(transparent) to Reg struct
27
+
20
28
- Generated crates now contain the git commit hash and date of svd2rust
21
29
compilation.
22
30
@@ -46,8 +54,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
46
54
47
55
- [ breaking-change] make ` write_with_zero ` method ` unsafe ` because the way it is
48
56
57
+ - Use complete path for cluster names
58
+
59
+ - Rename some generated variables.
60
+
61
+ - [ breaking-change] Publishes the register spec zero-sized type and move all relevant register traits to that struct.
62
+
63
+ - [ breaking-change] Removes the extra type parameter on Reg, making the register spec the sole authority on the shape of the register.
64
+
65
+ - Wrap register reader/writer and field readers in newtype wrappers, which significantly improves the documentation output.
66
+
67
+ - Improve documentation on generated registers and fields
68
+
49
69
- [ breaking-change] remove ` Variant<U, ENUM_A> ` , use ` Option<ENUM_A> ` instead
50
70
71
+ - [ breaking-change] Update ` svd-parser ` to ` 0.10 `
72
+
51
73
- split out register size type (` RawType ` ) from ` ResetValue ` trait
52
74
53
75
- ` anyhow ` crate is used for error handling
@@ -66,6 +88,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66
88
interrupt number handling. The minimum supported ` cortex-m ` version is now
67
89
** 0.7** and ` bare-metal ` is not a dependency anymore.
68
90
91
+ ### Removed
92
+
93
+ - Generated use of the register type aliases in favor of directly referencing ` Reg<REGISTER_SPEC> `
94
+
69
95
## [ v0.17.0] - 2019-12-31
70
96
71
97
### Fixed
@@ -560,7 +586,8 @@ peripheral.register.write(|w| w.field().set());
560
586
561
587
- Initial version of the ` svd2rust ` tool
562
588
563
- [ Unreleased ] : https://github.com/rust-embedded/svd2rust/compare/v0.17.0...HEAD
589
+ [ Unreleased ] : https://github.com/rust-embedded/svd2rust/compare/v0.18.0...HEAD
590
+ [ v0.18.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.17.0...v0.18.0
564
591
[ v0.17.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.16.1...v0.17.0
565
592
[ v0.16.1 ] : https://github.com/rust-embedded/svd2rust/compare/v0.16.0...v0.16.1
566
593
[ v0.16.0 ] : https://github.com/rust-embedded/svd2rust/compare/v0.15.2...v0.16.0
0 commit comments