blob: c244fbe046242a5de15d4afcd5772ad0178dd9ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#![no_std]
#![no_main]
use embassy_executor::Spawner;
use hal::config::Config;
use hal::reset_reason::reset_reason;
use {defmt_rtt as _, embassy_mcxa as hal, panic_probe as _};
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
let config = Config::default();
let _p = hal::init(config);
defmt::info!("Reset Reason: '{}'", reset_reason());
}
|