#![no_std] #![no_main] use cortex_m_rt::entry; use cortex_m_semihosting::hprintln; use nrf5340_hal as hal; use panic_semihosting as _; #[entry] fn main() -> ! { hprintln!("Hello world...").unwrap(); hprintln!("...from core: {:?}", hal::CpuId::current()).unwrap(); loop {} }