Skip to content

riscv: generate Pmpcsr via csr! macro - #411

Merged
MabezDev merged 1 commit into
rust-embedded:masterfrom
JurajSadel:feat/pmpcsr-via-csr
Aug 18, 2026
Merged

riscv: generate Pmpcsr via csr! macro#411
MabezDev merged 1 commit into
rust-embedded:masterfrom
JurajSadel:feat/pmpcsr-via-csr

Conversation

@JurajSadel

Copy link
Copy Markdown
Contributor

Pmpcsr has a public bits: usize field, which is not consistent with others.

Breaking change

  • Pmpcsr.bits (public field) removed → use .bits() or .into()
  • Minor version bump expected

Migration:

// before
let raw = pmpcfg0::read().bits;
// after
let raw = pmpcfg0::read().bits();

@JurajSadel
JurajSadel requested a review from a team as a code owner August 6, 2026 14:41
@MabezDev
MabezDev added this pull request to the merge queue Aug 18, 2026
Merged via the queue into rust-embedded:master with commit 811e95c Aug 18, 2026
165 checks passed
@JurajSadel
JurajSadel deleted the feat/pmpcsr-via-csr branch August 20, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants