initial commit

This commit is contained in:
Jorge Aparicio
2020-08-21 12:02:11 +02:00
commit df96204a61
13 changed files with 479 additions and 0 deletions
+13
View File
@@ -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()
}