This is a simple RISC-V Rust program that prints some strings to the 8051 UART.
- Rust, version 1.59.0 or later, with support for the
riscv32i-unknown-none-elftargetrustup target add riscv32i-unknown-none-elf
- GNU Binutils built with support for the
riscv32-elftarget (needed forobjcopyto convert the ELF to a raw binary) - SDCC (needed for
sdobjcopyand thes51simulator)
Run make sim in this directory to build the example and start the simulator.
This example code is licensed under the Zero-Clause BSD (0BSD) license.