This repository contains various crates useful for writing Rust programs on RISC-V microcontrollers:
riscv: CPU registers access and intrinsicsriscv-peripheral: Interfaces for standard RISC-V peripheralsriscv-rt: Startup code and interrupt handlingriscv-semihosting: Semihosting for RISC-V processorsriscv-target-parser: Utility crate for parsing RISC-V targets in build scriptsriscv-types: Common traits to be implemented by RISC-V PACsThis project is developed and maintained by the RISC-V team.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainer of this crate, the RISC-V team, promises to intervene to uphold that code of conduct.
Overall
Maintained
Code review
crates.io
Latest release
Releases this year
(top 24 of 32)
9,815 followers · starred Feb 2024
303 followers · starred Nov 2020
200 followers · starred Dec 2025
203 followers · starred Aug 2019
This repository contains various crates useful for writing Rust programs on RISC-V microcontrollers:
riscv: CPU registers access and intrinsicsriscv-peripheral: Interfaces for standard RISC-V peripheralsriscv-rt: Startup code and interrupt handlingriscv-semihosting: Semihosting for RISC-V processorsriscv-target-parser: Utility crate for parsing RISC-V targets in build scriptsriscv-types: Common traits to be implemented by RISC-V PACsThis project is developed and maintained by the RISC-V team.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainer of this crate, the RISC-V team, promises to intervene to uphold that code of conduct.
Overall
Maintained
Code review
crates.io
Latest release
Releases this year
(top 24 of 32)
9,815 followers · starred Feb 2024
303 followers · starred Nov 2020
200 followers · starred Dec 2025
203 followers · starred Aug 2019