Initial Setup for the microbit v1
This commit is contained in:
11
examples/panic.rs
Normal file
11
examples/panic.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
#![no_main]
|
||||
#![no_std]
|
||||
|
||||
use template_microbit as _; // global logger + panicking-behavior + memory layout
|
||||
|
||||
#[cortex_m_rt::entry]
|
||||
fn main() -> ! {
|
||||
defmt::println!("main");
|
||||
|
||||
defmt::panic!()
|
||||
}
|
||||
Reference in New Issue
Block a user