Releases: rust-embedded/svd2rust
Releases · rust-embedded/svd2rust
v0.30.2
- Fix documentation warnings
- Use
ArrayProxyfor memory disjoined register arrays - Use
const fnwhere allowed
v0.30.1
- Fix clippy lints on
nightly - Bump MSRV to 1.70
- Fix
derivedFromon field
v0.30.0
- Add
aarch64target for releases, more readme badges - Fix when
atomicsfeatures is generated but not enabled - move hidden structs into module, add register reader/writer links into
SPECdocs (#736) - removed register writer & reader wrappers, generic
REGin 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
FieldFpecinstead orftygeneric (#722)- print error on ci
curlrequest fail (#725) - removed
rtygeneric inFieldWriter(#721) boolandu8as default generics forBitReader/WriterandFieldReader/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_sectionconfig parameter for controlling the#[link_section = "..."]attribute of__INTERRUPTS(#718) - Add option to implement Debug for readable registers (#716)
- Add
atomics-feature(#729)
v0.28.0
- Generate atomic register code for non-MSP430 targets
- Change --nightly flag to --atomics
- Add handling for disjoint register arrays and validation of derives
v0.27.2
- mark alternate register accessors with
const, bumppacMSRV to 1.61 fieldsfn refactoring- Test patched STM32
- simplify ci strategy
- Fix generated code for MSP430 atomics
v0.27.1
- fix cli error with --help/version
- Don't cast fields with width 17-31 and non-zero offset.
v0.27.0
- Manually inline set/clear_bit
- Don't cast fields with width 17-31
- Make
generic.rsgeneric - [breaking-change] Change initial write value for registers with modifiedWriteValues
- Update
clapto 4.0, useirx-configinstead ofclap_conf - Add #[must_use] to prevent hanging field writers
- Remove explicit deref in
generic.rssince it's done by auto-deref - [breaking-change] Make writing raw bits to a whole register safe if the SVD indicates
so through the element (see [v0.7.1] too). - Remove lint #![deny(const_err)] as it is a hard error in Rust now
- Add doc of using
critical-section
v0.26.0
- Use edition 2021
- Fix adding ending reserved field when
max_cluster_sizeoption enabled - Add
Eqautoimplementation for enums - Use
critical_section::withinstead ofinterrupt::freeforPeripherals::take. - Bring documentation on how to generate MSP430 PACs up to date (in line with
msp430_svd). - Prefix submodule path with self:: when reexporting submodules to avoid ambiguity in crate path.
v0.25.1
- Fixed parentheses in RegisterBlock field accessors
- Check cluster size, add
max_cluster_sizeoption