Releases: rust-embedded/svd2rust
Releases · rust-embedded/svd2rust
v0.31.4
- Custom prefix/case/suffix for identifiers (by
svd2rust.toml
config file)
v0.31.3
- Add
svd::Device
validation after parsing byserde
- Add
skip-crate-attributes
config flag - Better display parsing errors
move
inR::field_iter
implementation (iterator of field array values)
v0.31.2
- Add iterators for register/cluster/field arrays
- Use parentheses instead of square brackets in docs for field arrays
v0.31.1
- Fix cluster arrays
- Remove needless reference in
ArrayElemAccessor
v0.31.0
- Use methods to access any register or cluster
- Remove all deny lints from generated crate
- Add
reexport-core-peripherals
andreexport-interrupt
features disabled by default - remove
ArrayProxy
andconst_generic
feature FieldWriter
takes offset as struct field instead of const generic.
Improves SVD field array access
Addwidth
,offset
methods- breaking change Always numerates field arrays from 0
- Support of default value for
EnumeratedValues
- move
Config
toconfig
module - add
impl-defmt
config flag - Use dash instead of underscore in flag names
v0.30.3
- Remove unstable lints
- Mark
Vector
union asrepr(C)
- Support
dimArrayIndex
for array names and descriptions
v0.30.2
- Fix documentation warnings
- Use
ArrayProxy
for memory disjoined register arrays - Use
const fn
where allowed
v0.30.1
- Fix clippy lints on
nightly
- Bump MSRV to 1.70
- Fix
derivedFrom
on field
v0.30.0
- 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
FieldFpec
instead orfty
generic (#722)- print error on ci
curl
request fail (#725) - removed
rty
generic inFieldWriter
(#721) bool
andu8
as default generics forBitReader/Writer
andFieldReader/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)