An implementation of the barebone on RISC-V architecture microcontroller.
It was first started at the beginning of 2024 and had once stopped.
But now, it reborns again and continues to live.
It'll be a fun project to work on and a composition for the oscomp2025.
{
"rust-analyzer.cargo.target": "riscv64gc-unknown-none-elf",
"rust-analyzer.check.allTargets": false
}
You should install a rustup and riscv64-unknown-elf-gcc toolchain, ensuring they are in your PATH.
rustup default nightly
rustup target add riscv64gc-unknown-none-elf
cargo install cargo-binutils
rustup component add llvm-tools-preview
wget https://github.com/rustsbi/rustsbi-qemu/releases/download/v0.1.1/rustsbi-qemu-release.zip
unzip rustsbi-qemu-release.zip
# Bootstrap the OS on QEMU
make run
# Clean up
make clean
# Count out the lines of source
make total_lines
rCore experiments.
Name | Note |
---|---|
os1 | hello-world to no-std |