Next-generation FPGA SoC toolkit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
296 B

#![no_std]
#![no_main]
extern crate riscv_rt;
extern crate panic_halt;
use riscv_rt::entry;
#[entry]
fn main() -> ! {
let foo = "hello world\n";
loop {
for c in foo.chars() {
let mem = 0x1001_3000 as *mut u8;
unsafe { *mem = c as u8 }
}
}
}