https://github.com/calint/rust_rv32i_os
Bare metal Rust for the RV32I in project "tang-nano-9k--riscv--cache-psram"
https://github.com/calint/rust_rv32i_os
bare-metal emulator rust rv32i
Last synced: 2 months ago
JSON representation
Bare metal Rust for the RV32I in project "tang-nano-9k--riscv--cache-psram"
- Host: GitHub
- URL: https://github.com/calint/rust_rv32i_os
- Owner: calint
- Created: 2025-03-17T18:56:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-17T16:39:19.000Z (11 months ago)
- Last Synced: 2025-08-17T17:33:59.115Z (11 months ago)
- Topics: bare-metal, emulator, rust, rv32i
- Language: Rust
- Homepage: https://github.com/calint/tang-nano-9k--riscv--cache-psram
- Size: 272 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust on bare metal rv32i
## setup
```sh
rustup target add riscv32i-unknown-none-elf
```
## build and emulate
initialize for Tang Nano 9K
```sh
./configure.py 9k
```
or Tang Nano 20K
```sh
./configure.py 20k
```
then run
```sh
./run.sh
```
## note
* see https://github.com/calint/tang-nano-9k--riscv--cache-psram for FPGA implementation of the RISC-V RV32I for Tang Nano 9K that runs the application
* see https://github.com/calint/tang-nano-20k--riscv--cache-sdram for Tang Nano 20K version
* committed code has been tested in emulator
* tagged versions have been tested in emulator and on hardware
## tools
* cargo 1.89.0 (c24e10642 2025-06-23)
* rustc 1.89.0 (29483883e 2025-08-04)