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.
19 lines
269 B
19 lines
269 B
3 years ago
|
#![no_std]
|
||
|
#![no_main]
|
||
|
|
||
|
extern crate xous_riscv;
|
||
|
|
||
|
use core::panic::PanicInfo;
|
||
|
#[panic_handler]
|
||
|
fn handle_panic(arg: &PanicInfo) -> ! {
|
||
|
loop {}
|
||
|
}
|
||
|
|
||
|
use xous_riscv_rt::entry;
|
||
|
#[entry]
|
||
|
fn xous_main() -> ! {
|
||
|
loop {
|
||
|
unsafe { xous_riscv::asm::wfi() };
|
||
|
}
|
||
|
}
|