Svd2rust Versions Save

Generate Rust register maps (`struct`s) from SVD files

v0.33.1

3 weeks ago
  • Add checked set for not full safe fields

v0.33.0

1 month ago
  • Add IsEnum constraint for FieldWriters (fix variant safety)
  • Make field writer bits always unsafe, add set for safe writing
  • Fix bit writer type for ModifiedWriteValues::ZeroToSet

v0.32.0

2 months ago
  • Bump MSRV to 1.74
  • generic unsafe W::bits + safe W::set
  • Add base-address-shift config flag
  • Use PascalCase for type idents, fix case changing bugs, add --ident-format (-f) option flag
  • Add enum_read_name for read-only enums, RWEnum helper
  • Reexport enums inside register again
  • Add DimSuffix helper trait

v0.31.5

4 months ago
  • move in RegisterBlock::reg_iter implementation (iterator of register/cluster array)
  • Fix cargo doc constants generation

v0.31.4

4 months ago
  • Custom prefix/case/suffix for identifiers (by svd2rust.toml config file)

v0.31.3

4 months ago
  • Add svd::Device validation after parsing by serde
  • Add skip-crate-attributes config flag
  • Better display parsing errors
  • move in R::field_iter implementation (iterator of field array values)

v0.31.2

5 months ago
  • Add iterators for register/cluster/field arrays
  • Use parentheses instead of square brackets in docs for field arrays

v0.31.1

5 months ago
  • Fix cluster arrays
  • Remove needless reference in ArrayElemAccessor

v0.31.0

5 months ago
  • 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

5 months ago
  • Remove unstable lints
  • Mark Vector union as repr(C)
  • Support dimArrayIndex for array names and descriptions