initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#![no_main]
|
||||
#![no_std]
|
||||
|
||||
use {{crate_name}} as _; // global logger + panicking-behavior + memory layout
|
||||
|
||||
#[cortex_m_rt::entry]
|
||||
fn main() -> ! {
|
||||
// value of the FREQUENCY register (nRF52840 device; RADIO peripheral)
|
||||
let frequency: u32 = 276;
|
||||
defmt::debug!("FREQUENCY: {0:0..7}, MAP: {0:8..9}", frequency);
|
||||
|
||||
{{crate_name}}::exit()
|
||||
}
|
||||
Reference in New Issue
Block a user