rust-embedded / riscv

Low level access to RISC-V processors
818 stars 160 forks source link

`riscv`: Pub macros for non-standard CSRs #187

Closed dreiss closed 3 months ago

dreiss commented 6 months ago

I'm using Rust on a RISC-V processor that includes some non-standard CSRs. It would be nice if the macros this crate uses to define CSR functions were exported so I could use them to define my own CSR functions.

romancardenas commented 6 months ago

Sounds good to me. Feel free to open a PR :)