Releases: rust-embedded/svd2rust
Releases · rust-embedded/svd2rust
v0.37.1
v0.37.0
- Fix new mismatched-lifetime-syntaxeslint warnings
- Adapt RISC-V specific codegen for riscv-peripheralv0.3.0 rework
- Include riscv-peripheralperipherals inPeripheralsstruct
- repr(transparent)for field wrapper
- Ensure __INTERRUPTSare#[no_mangle]on Xtensa.
- Add base_isafield toriscv_configto allow theriscv_rt::core_interrupt
 macro to properly generate start trap assembly routines in vectored mode.
- Add editionflag
v0.36.1
- Update irx-config
- Fix register array derive regression
- Sanitize genkeyword (new in Rust 2024 edition)
v0.36.0
- Generic Periph<RB, A>
- use ConstZero::ZEROinstead ofDefault::default()to force const
- Add mtvec_alignfield toriscv_configto configure the byte alignment of interrupt vector table.
- Fix reexport path when "%s" inside "derivedFrom"
- Force using rust edition 2021 in CI
- Added lifetime ellision for FieldWriterwhere the explicit lifetimes are not necessary, which
 fixes theclippy::needless_lifetimeswarning on rustc 1.84
- Some fixes for the svd2rust-regresstool and update of its documentation
- Other internal clippy fixes for clippy::manual_div_ceil,clippy::nonminimal_booland
 clippy::needless_lifetimes
- Add missing escape_special_charsfor peripheral description
- Update svd-rsto 0.14.11
- Added #![cfg_attr(docsrs, feature(doc_auto_cfg))]to the generated library code. This
 adds a display of the feature gates in the documentation of the generated library
- Split on the start of attribute instead of the end
v0.35.0
- Add crate_pathsetting
- Inline SettingsintoConfig, addsettings_file
- Fix MSP430 PAC inner attribute generation when used with the -mswitch.
v0.34.0
- Revert #711
- Add defmtimpls forTryFromInterruptError, riscv interrupt enums
- Fix calculating modifiedWriteValuesbitmasks with field arrays
- Fix building without yamlfeature
- Compatibility with riscv0.12 andriscv-rt0.13
- Add riscv_configsection insettings.yaml
 It usesriscv-pactraits and standardriscv-peripheralperipherals.
- Add settings.yamlfile for target-specific settings.
- Add warning about indexing register arrays
- Skip generating .add(0)and1 *in accessors
- Bump MSRV of generated code to 1.76
- move must_usefrom methods to generic type
- breaking change Return raw writtened value
- Add from_write,from_write_with_zero, andfrom_modifyregister modifiers
 with generic return value
- InterruptNumberis no longer implemented for Xtensa peripheral interrupts
v0.33.5
- Fix STM32-patched CI
- Fix enumeratedValueswithisDefaultonly
- Fix invalid Puncterror fromproc_macro2
- Run espressif tests on nightly-2024-09-25 to workaround CI failures
v0.33.4
- Add html-urloption to accesssvdtools htmlfiles from docs
- Move Regin separate file
- Use warningclass in docs
- Refactor Accessor
v0.33.3
- Yet more clean field & register Debug
v0.33.2
- Remove unneeded format_argsin registerDebugimpl