aboutsummaryrefslogtreecommitdiff
path: root/examples/mimxrt6/src/bin/hello.rs
blob: c640241ce7003b09c89ef58c8d1bfbe5ba11bdfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![no_std]
#![no_main]

extern crate embassy_imxrt_examples;

use defmt::info;
use embassy_executor::Spawner;
use {defmt_rtt as _, panic_probe as _};

#[embassy_executor::main]
async fn main(_spawner: Spawner) -> ! {
    let _p = embassy_imxrt::init(Default::default());
    loop {
        info!("Hello");
        cortex_m::asm::delay(5_000_000);
    }
}