Add empty test binary for riscv

This commit is contained in:
Roy Buitenhuis
2023-04-11 16:53:04 +02:00
parent 813bba200f
commit 00258bca43
5 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#![no_std]
#![no_main]
#![feature(type_alias_impl_trait)]
use embassy_executor::Spawner;
#[panic_handler]
fn panic (_info: &core::panic::PanicInfo) -> ! {
loop {}
}
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
// Don't do anything, just make sure it compiles.
loop {}
}