Skip to content

Releases: Rahix/atdf2svd

Version 0.5.0

04 Nov 23:23
v0.5.0
Compare
Choose a tag to compare

Added

  • Support for register fields of different modes (#67 by @flobz).

Version 0.4.0

04 May 20:14
v0.4.0
40cf9d5
Compare
Choose a tag to compare

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 version 0.10 (#41 by @jeandudey).

Version 0.3.3

23 Oct 09:30
v0.3.3
9397b47
Compare
Choose a tag to compare

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

20 Sep 20:48
v0.3.2
e45ca76
Compare
Choose a tag to compare

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

01 Aug 14:34
v0.3.1
144ba82
Compare
Choose a tag to compare

Fixed

  • Added missing <addressBlock> elements to be more in line with the SVD spec (#26).
  • Fixed a few SVDConv errors and warnings (#28).

Version 0.3.0

01 Aug 14:30
v0.3.0
c969350
Compare
Choose a tag to compare

Fixed

  • Fixed bitmask calculation not being correct for register sizes greater than 1 byte (#21 by @jwagen).
  • Fixed use of the wrong attribute for access mode. rw should be used instead of ocd-rw (#24 by @xoriath).

Version 0.2.0

25 Nov 21:15
v0.2.0
b54e928
Compare
Choose a tag to compare

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

02 Oct 09:21
v0.1.4
ae0556e
Compare
Choose a tag to compare

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

02 Oct 08:55
v0.1.3
64c0b40
Compare
Choose a tag to compare

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