rust stuff for cheapie's rvcontroller
- Rust 79%
- Nix 19.4%
- Logos 1.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Flake lock file updates:
• Updated input 'nixpkgs':
'https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1031494.389ed85304b2/nixexprs.tar.xz?lastModified=1783545186&narHash=sha256-X8V/ng5Cq8JsF8oaRCIjcjB8D0WiVk8VeLOikkmA9n0%3D&rev=389ed85304b281ca7f306cf8a1eb4378651ca44e' (2026-07-08)
→ 'https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1108556.6dadaf4375be/nixexprs.tar.xz?lastModified=1793826729&narHash=sha256-JiTUXdoNJNvdD%2BfjVlftWiLKJfHut3cIi8j2HXL9kT4%3D&rev=6dadaf4375be35033e1c84395adbd53ff5fded96' (2026-11-04)
|
||
| .cargo | ||
| csr | ||
| ecall | ||
| hello | ||
| ipropt | ||
| meowmeowio | ||
| panic-printer | ||
| rrxing | ||
| slice-writer | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| memory.x | ||
| README.md | ||
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