File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
88## [ Unreleased]
99
10+ ### Changed
11+
12+ - ` svd2rust -i $FILE tim1 ` will now try to match ` tim1 ` , the name of the
13+ requested peripheral, * exactly* before looking for a peripheral that start
14+ with ` tim1 ` . The result is that the previous command now returns the register
15+ map of TIM1 instead of e.g. the map of TIM15 which appeared "first" in the SVD
16+ file.
17+
18+ ### Fixed
19+
20+ - svd2rust now "sanitizes" register names that match existing Rust keywords.
21+ This means that if a register is named ` mod ` in the SVD file, svd2rust will,
22+ instead, use ` mod_ ` as the name of the register for the generated Rust code.
23+ With this change, the generated Rust code will compile out of the box, without
24+ requiring further, manual changes.
25+
26+ - svd2rust no longer assumes that SVD files list the registers of a register
27+ block sorted by their "offsets". With this change, svd2rust now accepts more
28+ SVD files.
29+
1030## [ v0.1.1] - 2016-11-13
1131
1232### Fixed
You can’t perform that action at this time.
0 commit comments