Releases: rust-embedded/svd2rust
Releases · rust-embedded/svd2rust
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
v0.18.0
What's Changed
- rustfmt travis by @burrbull in #411
- Simplify register generation code by @therealprof in #412
- MSP430 Improvements by @cr1901 in #401
- Adjust CI to test MSRV and allow nightly to fail by @therealprof in #413
- simplify enum derive by @burrbull in #381
- More de vectorisation by @therealprof in #416
- more TokenStream extend by @burrbull in #420
- disable broken lints by @burrbull in #421
- Round up when calculating register size in bytes by @Tiwalun in #419
- Simplify the output code a bit more for another slight speedup by @therealprof in #422
- Deduplicate some code and move some out of the inner loop by @therealprof in #423
- replace_suffix by @burrbull in #425
- field array support by @burrbull in #400
- fix async sanitizing by @burrbull in #428
- Format and fix typos in
generic
by @jonas-schievink in #432 - Use standard wording for the MSRV note by @ra-kete in #436
- Add triagebot configuration by @LeSeulArtichaut in #435
anyhow
Error by @burrbull in #398- Remove unnecessary coercions to 'String' + small fixes to doc comments by @JOE1994 in #438
- Add commit and date info to generated crates by @cr1901 in #439
- Use GitHub actions for CI by @therealprof in #440
- Support as_ptr on a register for DMA and such by @petrohi in #442
- Switch from Travis-CI to GHA by @therealprof in #443
- Cluster name qualification by @gkelly in #444
- Add ESP32 support by @arjanmels in #445
- update msp430 test deps by @burrbull in #446
- split out register size type from ResetValue trait by @burrbull in #431
- Rename ESP32 to XTensaLX6 and split crate into rt and base by @arjanmels in #448
- Get rid of a boatload of unnecessary braces warnings by @therealprof in #454
- Use and generate code for Edition 2018 only by @therealprof in #456
- Add associated const ptr
PTR
to each peripheral RegisterBlock by @therealprof in #457 - Clarify some generate variables by renaming by @couchand in #461
- Register spec & traits by @couchand in #464
- Avoid register type aliases by @couchand in #466
- Accessor newtypes by @couchand in #465
- Rework
Interrupt
enum for MSP430 by @therealprof in #460 - Allow unused FieldReader by @couchand in #467
- Remove
_mut
version of alternate register access function by @burrbull in #469 - Improve documentation on generated registers and fields by @couchand in #468
- Writable::Writer needs DerefMut trait bound by @couchand in #471
- Use xtensa-lx by @MabezDev in #470
- Update svd2rust-regress once again by @therealprof in #472
- Fix derivedFrom enumerated values by @couchand in #476
- Fix a ton of clippy lints by @therealprof in #479
- fix W::bits signature by @couchand in #477
- Add repr(transparent) to Reg struct by @couchand in #480
- Implement new InterruptNumber trait from next cortex-m release by @therealprof in #473
- Update the min
vcell
version to v0.1.2 by @david-sawatzke in #484 - Only use cortex-m when target is cortex-m. Fixes #482. by @adamgreig in #483
- Expand derived clusters by @smindinvern in #485
- Fix handling of
isDefault'
enumeratedValue's by @smindinvern in #486 - add debug trait by @devsnek in #488
- Update CHANGELOG for #485 and #486 by @smindinvern in #490
- Fix type path for cluster fields. Allows nested clusters by @theli-ua in #489
- Fix type paths for arrays of nested clusters by @theli-ua in #491
- Mips target by @kiffie in #493
- disable fail-fast integration strategy by @burrbull in #498
- Remove useless
Variant
, use Option instead by @burrbull in #496 - update svd parser by @burrbull in #447
- Add CHANGELOG.md entry checker to GHA workflows by @therealprof in #500
- Emit code to bring generic module into scope when using
-g
option. by @cr1901 in #507 - don't add underscore to end of "is_keyword" by @burrbull in #501
- unsafe write_with_zero by @burrbull in #502
- move interrupt generation after generic file by @burrbull in #509
- implement both owning and const generic field array writers by @burrbull in #503
- Add -m switch to create a module instead of a lib by @adamgreig in #510
- support for alternateGroup registers by @burrbull in #506
- Bump version to 0.18 and add missing CHANGELOG.md entries by @therealprof in #499
New Contributors
- @cr1901 made their first contribution in #401
- @Tiwalun made their first contribution in #419
- @ra-kete made their first contribution in #436
- @LeSeulArtichaut made their first contribution in #435
- @JOE1994 made their first contribution in #438
- @petrohi made their first contribution in #442
- @gkelly made their first contribution in #444
- @arjanmels made their first contribution in #445
- @couchand made their first contribution in #461
- @david-sawatzke made their first contribution in #484
- @smindinvern made their first contribution in #485
- @devsnek made their first contribution in #488
- @theli-ua made their first contribution in #489
- @kiffie made their first contribution in #493
Full Changelog: v0.17.0...v0.18.0
v0.17.0: Merge #410
410: Prepare 0.17.0 release r=burrbull a=therealprof Signed-off-by: Daniel Egger <[email protected]> Co-authored-by: Daniel Egger <[email protected]>
v0.16.1: Merge #382
382: v0.16.1 r=therealprof a=burrbull r? @therealprof Co-authored-by: Andrey Zgarbul <[email protected]>
v0.16.0: Merge #367
367: v0.16 r=therealprof a=burrbull r? @therealprof Co-authored-by: Andrey Zgarbul <[email protected]>