diff --git a/examples/hpc/hello-hpc/examples/sprintln.rs b/examples/hpc/hello-hpc/examples/sprintln.rs new file mode 100644 index 00000000..65fff0bf --- /dev/null +++ b/examples/hpc/hello-hpc/examples/sprintln.rs @@ -0,0 +1,13 @@ +#![no_std] +#![no_main] + +use headsail_bsp::{rt::entry, sprintln}; +use hello_hpc::print_example_name; +use panic_halt as _; + +#[entry] +fn main() -> ! { + print_example_name!(); + sprintln!("Hello sprintln!"); + loop {} +}