How to implement rust embedded hal for RISC-V RV32E

⚓ rust    📅 2025-05-16    👤 surdeus    👁️ 4      

surdeus

Warning

This post was published 45 days ago. The information described in this article may have changed.

I'm developing a custom RISC-V RV32E-based SoC and attempting to use embedded-hal for driver development.
My challenges include:

  • How to properly implement MMIO register mapping?
  • How to choose a target ISA? (for me I need RV32E or RV32I)
  • How to adapt debugging toolchain integration like probe-rs and defmt?
  • How to specify which function is bootloader and my memory region(flash, ram, etc.)?
    As a newcomer to Rust embedded development, I've formed some hypotheses about these issues by reading through codebases, but I want to avoid making incorrect assumptions that might prevent me from adopting established best practices. I would be extremely grateful for any pointers to relevant documentation or existing resources that could help clarify these areas

1 post - 1 participant

Read full topic

🏷️ rust_feed