Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 379 Bytes
extern crate panic_halt;
use cortex_m_rt::entry;
// Semihosting is part of ARM debugging interface?
use cortex_m_semihosting::{debug, hprintln};
fn main() -> ! {
hprintln!("Hello, world!").unwrap();
// exit QEMU
// NOTE do not run this on hardware; it can corrupt OpenOCD state
loop {}
You can’t perform that action at this time.