Skip to content

Releases: rust-embedded/svd2rust

v0.31.1

28 Nov 03:50
1dd3016
Compare
Choose a tag to compare
  • Fix cluster arrays
  • Remove needless reference in ArrayElemAccessor

v0.31.0

24 Nov 03:58
9ddc065
Compare
Choose a tag to compare
  • Use methods to access any register or cluster
  • Remove all deny lints from generated crate
  • Add reexport-core-peripherals and reexport-interrupt features disabled by default
  • remove ArrayProxy and const_generic feature
  • FieldWriter takes offset as struct field instead of const generic.
    Improves SVD field array access
    Add width, offset methods
  • breaking change Always numerates field arrays from 0
  • Support of default value for EnumeratedValues
  • move Config to config module
  • add impl-defmt config flag
  • Use dash instead of underscore in flag names

v0.30.3

19 Nov 17:43
3ff94c7
Compare
Choose a tag to compare
  • Remove unstable lints
  • Mark Vector union as repr(C)
  • Support dimArrayIndex for array names and descriptions

v0.30.2

22 Oct 12:17
76155af
Compare
Choose a tag to compare
  • Fix documentation warnings
  • Use ArrayProxy for memory disjoined register arrays
  • Use const fn where allowed

v0.30.1

02 Oct 08:00
460ea2e
Compare
Choose a tag to compare
  • Fix clippy lints on nightly
  • Bump MSRV to 1.70
  • Fix derivedFrom on field

v0.30.0

19 Aug 05:43
8dd361f
Compare
Choose a tag to compare
  • Add aarch64 target for releases, more readme badges
  • Fix when atomics features is generated but not enabled
  • move hidden structs into module, add register reader/writer links into SPEC docs (#736)
  • removed register writer & reader wrappers, generic REG in field writers (#731)
  • Updated syn to version 2 (#732)
  • Let readable field fetch doc from svd description (#734)
  • Add steal() for each peripheral

v0.29.0

05 Jun 06:55
615f093
Compare
Choose a tag to compare
  • FieldFpec instead or fty generic (#722)
  • print error on ci curl request fail (#725)
  • removed rty generic in FieldWriter (#721)
  • bool and u8 as default generics for BitReader/Writer and FieldReader/Writer (#720)
  • Bump MSRV to 1.65 (#711)
  • Optimize case change/sanitize (#715)
  • Fix dangling implicit derives (#703)
  • Fix escaping <> and & characters in doc attributes (#711)
  • Add interrupt_link_section config parameter for controlling the #[link_section = "..."] attribute of __INTERRUPTS (#718)
  • Add option to implement Debug for readable registers (#716)
  • Add atomics-feature (#729)

v0.28.0

25 Dec 16:33
27eebb4
Compare
Choose a tag to compare
  • Generate atomic register code for non-MSP430 targets
  • Change --nightly flag to --atomics
  • Add handling for disjoint register arrays and validation of derives

v0.27.2

06 Nov 09:46
4eb24b1
Compare
Choose a tag to compare
  • mark alternate register accessors with const, bump pac MSRV to 1.61
  • fields fn refactoring
  • Test patched STM32
  • simplify ci strategy
  • Fix generated code for MSP430 atomics

v0.27.1

25 Oct 17:15
5e50d6b
Compare
Choose a tag to compare
  • fix cli error with --help/version
  • Don't cast fields with width 17-31 and non-zero offset.