rust stuff for cheapie's rvcontroller
  • Rust 97.8%
  • Logos 2.2%
Find a file
2026-05-25 11:15:57 -04:00
.cargo enable zimop, zawrs, and zcmop extensions 2026-05-25 11:15:57 -04:00
csr add soundness warnings 2026-05-20 14:54:47 -04:00
ecall add soundness warnings 2026-05-20 14:54:47 -04:00
fake-critical-section add soundness warnings 2026-05-20 14:54:47 -04:00
hello shim: create 2026-05-10 17:43:47 -04:00
ipropt fake-critical-section: create 2026-05-20 14:29:26 -04:00
rrxing shim: create 2026-05-10 17:43:47 -04:00
shim shim: actually print panic info 2026-05-12 13:14:46 -04:00
slice-writer slice-writer: update comment 2026-05-19 14:27:32 -04:00
.gitignore gitignore: add *.bin and *.hex 2026-05-17 12:39:38 -04:00
build.rs build: fix rerun if changed paths 2026-05-08 10:23:46 -04:00
Cargo.lock ip-parsing-borked: remove 2026-05-24 20:29:22 -04:00
Cargo.toml ip-parsing-borked: remove 2026-05-24 20:29:22 -04:00
memory.x ipropt: fix 2026-05-19 11:54:00 -04:00
README.md update rvcontroller links 2026-05-24 07:13:04 -04:00

rvcontroller-rust

rust stuff for cheapie's rvcontroller

usage

this uses the riscv32imac-unknown-none-elf target (which is not exactly what rvcontroller supports, but making our own more accurate target requires nightly). it can be downloaded with rustup:

rustup target add riscv32imac-unknown-none-elf

(or just build it yourself if you want)

since this target makes elf files, it'll need to be converted to something that can be loaded on rvcontroller. cargo-binutils's cargo objcopy is a convenient way to automatically build cargo stuff and then convert it with llvm-objcopy. for example, to get the intel hex that rvcontroller_loader wants:

cargo objcopy --release -p hello -- -O ihex hello.hex