Releases: knurling-rs/derive-mmio
Releases · knurling-rs/derive-mmio
derive-mmio v0.6.0
Changed
${field}_shared_uncheckedfunction to access inner arrays is nowunsafe- Renamed
#[mmio(inner)]to#[mmio(Inner)]
PRs
- Add missing entries to CHANGELOG by @jonathanpallant in #52
- Marks
${field}_shared_uncheckedas unsafe by @jonathanpallant in #58 - Replace '(inner)' with '(Inner)' by @jonathanpallant in #57
- Prepare v0.6.0 release by @jonathanpallant in #59
Full Changelog: derive-mmio-v0.5.0...derive-mmio-v0.6.0
v0.5.0
Added
#[mmio(const_ptr)]and#[mmio(const_inner)]outer attributes which addconstness to pointer getters and inner MMIO block getter functions respectively. Those require Rust version 1.83.0 or higher.- Support for arrays of inner blocks
- Can access inner blocks through a shared reference
Changed
pointer_to_${field}methods only require shared access to the MMIO handle now.
Pull Requests
- pointer getter only require shared access now by @robamu in #47
- allow inner mmio by shared ref by @robamu in #45
- inner MMIO array support by @robamu in #48
- Add more constness via macro attribute by @robamu in #49
- Bump to version 0.5.0 by @jonathanpallant in #51
Full Changelog: derive-mmio-v0.4.0...derive-mmio-v0.5.0
v0.4.0
What's Changed
- Compile time check for padding now works reliably
- Add
no_ctorsattribute which allows the user to write custom constructors. - Reworked access modifiers. RO and RW were replaced by PureRead, Read, Write and Modify access modifiers.
What's New
- Allow field types which also derive
Mmioas long as they are annotated with#[mmio(inner)] - Added support for array fields
- Added unsafe clone method on
Mmiostructure - Implement
Sendfor generated MMIO block.
Pull Requests
- Add no_ctor outer attribute, change for padding check by @robamu in #20
- Inner MMIO Feature by @robamu in #22
- Array support by @robamu in #25
- inline some generated functions by @robamu in #30
- bound checks are done in separate function by @robamu in #29
- unsafe fn to clone MMIO by @robamu in #33
- Small typo fix by @skade in #35
- add ptr getter method by @robamu in #37
- Add send impl and improve docs by @robamu in #36
- remove dependency which slipped in by accident by @robamu in #39
- Fix control/status mix-up in lib.rs text. by @jonathanpallant in #40
- Rework access modifiers by @robamu in #38
- chore: fix several small typos by @poliorcetics in #41
- Updated output observed on Rust 1.86 by @jonathanpallant in #43
- Release v0.4.0 by @jonathanpallant in #42
New Contributors
- @skade made their first contribution in #35
- @poliorcetics made their first contribution in #41
Full Changelog: derive-mmio-v0.3.0...derive-mmio-v0.4.0
v0.3.0
What's Changed
- Make the new functions const. by @jonathanpallant in #17
Full Changelog: derive-mmio-v0.2.0...derive-mmio-v0.3.0
v0.2.0
What's Changed
- Fix-up the example code in lib.rs. by @jonathanpallant in #12
- Add pointer method by @jonathanpallant in #13
- Check for padding and support RO fields. by @jonathanpallant in #15
Full Changelog: derive-mmio-v0.1.0...derive-mmio-v0.2.0
v0.1.0
The first release of derive-mmio.