Skip to content

Commit 0e9cd60

Browse files
author
Jorge Aparicio
committed
update the CHANGELOG
1 parent 400d350 commit 0e9cd60

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)