Releases: Rahix/atdf2svd
Releases · Rahix/atdf2svd
Version 0.5.0
Version 0.4.0
Added
- Support for registers with multiple modes (split peripherals) by emitting
alternateGroup
elements in the SVD (#48 by @G33KatWork). - Added a regression testsuite to protect us against unintended changes in the generated output. Important for contributors: If the changes are intended, you can use
cargo insta review
to sign off on the changes and add them as part of your contribution (#37).
Changed
- Updated most dependencies.
- Updated
xmltree
to version0.10
(#41 by @jeandudey).
Version 0.3.3
Added
- Added an optional patch for removing common prefixes from register names. It can be enabled with the
--auto-patches remove_register_common_prefix
commandline option (#33 by @jeandudey). - Added translation of the ATDF architecture and series into appropriate SVD fields (#32 by @jeandudey).
Changed
- Internally switched to using
svd-rs
instead of hand-rolling the SVD file (#34 by @jeandudey).
Fixed
- Fixed generation of empty enumerated values (#35).
Version 0.3.2
Changed
- Errors during interrupt generation have been converted to warnings. This means you can generate an SVD even without interrupts (#31 by @jeandudey).
- Updated dependencies.
Version 0.3.1
Version 0.3.0
Version 0.2.0
Added
--version
commandline argument.- Support for write-only register fields (#9 by @explicite).
- Support for newer AVR MCUs in the
signals_to_port_fields
patch (#10 by @explicite).
Changed
- Fall back to module caption if instance caption is missing (#15 by @trembel).
- Improved naming of interrupts for newer AVR MCUs (#19 by @trembel).
- When multiple interrupts with the same vector exist, their names are merged into a single interrupt definition (#20 by @trembel).
Fixed
- Properly handle empty
caption
attribute for enumerated values (#12 by @explicite). - Fixed empty
caption
for peripherals (3f0003c75350
). - Enumerated values which don't actually fit into a field are now dropped with a warning (#14 by @explicite).
Version 0.1.4
Changes
- Minor dependency update
- Switch to gumdrop instead of structopt, this reduces the number of dependencies quite a bit.
- Filter out peripherals with no registers instead of erroring in this case (#7, #8 by @jkristell).
Version 0.1.3
Changes
- Allow missing caption for peripherals
- Make sure child nodes in register-group have the correct name
- Only parse
interrupt
children and ignore any other named ones - Allow signals_to_port_fields() patch to fail