Releases: rust-embedded/svd2rust
Releases · rust-embedded/svd2rust
v0.25.0
- Add
feature_peripheraloption which generates cfg features for each peripheral - Use register aliases in
RegisterBlock(both structure and mod) - Create aliases for derived registers & clusters
- Move cluster struct inside mod
- Support non-sequential field arrays
- Use inlined variables in
format!(Rust 1.58) - Refactor, clean
periperal.rs&util.rs - use
svd_parser::expand::Indexfor derive - Generated enum names now consider
namefield inenumeratedValues - Use constant case for structure names; internal rearrangements for
case conversation traits - Add new feature
feature_groupwhich will generate cfg attribute for
every group name when it is on - Sort fields by offset before process
- Updated docs for
write/modify
v0.24.1
Prereleased 2025-10-19
- Change
feature(doc_auto_cfg)tofeature(doc_cfg)to allow nightly docs to build. - Add unsafe block around
DEVICE_PERIPHERALS = trueinPeripherals::steal()
to support Rust 2024 edition.
v0.23.1
v0.23.0
What's Changed
- 1-element array by @burrbull in #590
- optional PascalCase for Enum values by @burrbull in #591
- clean FieldReader by @burrbull in #594
- const generic field array by @burrbull in #595
- add code generation support of peripheral arrays by @duskmoon314 in #592
Full Changelog: v0.22.1...v0.23.0
v0.22.1
v0.22.0
What's Changed
- v0.21 by @burrbull in #575
- Bring documentation on MSP430 up to date. by @cr1901 in #577
- array accessors by @burrbull in #579
- added dyn keyword to KEYWORDS in sanitize_keyword by @tiagomanczak in #586
- Use the official Espressif SVDs for testing, check additional chips by @jessebraham in #587
- v0.22 by @burrbull in #588
New Contributors
- @tiagomanczak made their first contribution in #586
- @jessebraham made their first contribution in #587
Full Changelog: v0.21.0...v0.22.0
v0.21.0
What's Changed
- yet another try to fix use_mask by @burrbull in #558
- fix: Replace suffix before converting to snake case by @duskmoon314 in #564
- offset_calc fix parenthesizing by @burrbull in #568
- refix calculate offset by @burrbull in #569
- don't cast if not use_mask by @burrbull in #570
- add re-export of mips_rt::interrupt for MIPS by @kiffie in #573
- update svd-parser by @burrbull in #571
- Updated Espressif test by @adamgreig in #566
- serde YAML/JSON input by @burrbull in #556
- feat: Add keep_list arg to allow not to generate arrays by @duskmoon314 in #562
- disable the interrupt macro for MIPS as well by @kiffie in #574
New Contributors
- @duskmoon314 made their first contribution in #564
Full Changelog: v0.20.0...v0.21.0
v0.20.0
What's Changed
- add device.x for riscv targets, and provides __EXTERNAL_INTERRUPTS by @allexoll in #527
- Allow multiple level of deriveFrom peripherals. by @ithinuel in #529
- Change changelog check trigger and bump checker version by @therealprof in #530
- Remove unnecessary borrows. by @rcls in #532
- Emit more Cluster arrays as arrays instead of lists of elements. by @rcls in #534
- Xtensa updates by @MabezDev in #536
- Don't use a mask when not needed by @thibautvdv in #537
- Fix typo in docs by @Javier-varez in #538
- add
#[inline(always)]to register field reader constructors by @icewind1991 in #539 - svd-parser 0.11 by @burrbull in #542
- Better error handling by @robamu in #544
- Fix register & cluster derive by @burrbull in #546
- fix bug in #537 by @burrbull in #549
- Added debug and trace output by @robamu in #548
- svd-parser 0.12 by @burrbull in #552
- Fixes in multi line description generation by @luojia65 in #553
- Generate safe bits writers when possible by @newAM in #554
- v0.20 release by @burrbull in #555
New Contributors
- @allexoll made their first contribution in #527
- @ithinuel made their first contribution in #529
- @thibautvdv made their first contribution in #537
- @Javier-varez made their first contribution in #538
- @icewind1991 made their first contribution in #539
- @robamu made their first contribution in #544
- @luojia65 made their first contribution in #553
- @newAM made their first contribution in #554
Full Changelog: v0.19.0...v0.20.0
v0.19.0
What's Changed
- rm From path prefix by @burrbull in #511
- register iterator by @burrbull in #512
- Add
#[inline(always)]to three generated methods. by @rcls in #515 - Config by @burrbull in #516
- fix log by @burrbull in #517
- output-dir by @burrbull in #518
- Support for atomic bitwise operations in MSP430 PAC API by @YuhanLiin in #520
- Be more careful computing the size of an array Cluster. by @rcls in #519
- hex size for reserved by @burrbull in #521
- multiline descriptions by @burrbull in #524
- v0.19 by @burrbull in #525
Full Changelog: v0.18.0...v0.19.0