diff --git a/src/bin/hello.rs b/src/main.rs similarity index 50% rename from src/bin/hello.rs rename to src/main.rs index 6ad0a7c..32352df 100644 --- a/src/bin/hello.rs +++ b/src/main.rs @@ -1,11 +1,11 @@ -#![no_main] #![no_std] +#![no_main] -use wspr_beacon as _; // global logger + panicking-behavior + memory layout +use wspr_beacon::exit; #[cortex_m_rt::entry] fn main() -> ! { defmt::info!("Hello, world!"); - wspr_beacon::exit() + exit() }