Skip to content

Commit

Permalink
uart0: print test name
Browse files Browse the repository at this point in the history
  • Loading branch information
hegza committed Mar 20, 2024
1 parent f1825c6 commit 480fd8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/hpc/hello-hpc/examples/uart0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
#![no_main]

use headsail_bsp::{rt::entry, uart::uart_write};
use hello_hpc::print_example_name;
use panic_halt as _;

#[entry]
fn main() -> ! {
print_example_name!();
uart_write("Hello world!");
loop {}
}

0 comments on commit 480fd8d

Please sign in to comment.