aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
blob: d76cf3369c0240f817c33ab368ec028fc206d325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2019 Robin Krahl <robin.krahl@ireas.org>
// SPDX-License-Identifier: GPL-3.0-or-later

#![no_std]
#![no_main]

extern crate panic_halt;
extern crate hal;

use cortex_m::asm;
use cortex_m_rt::entry;

#[entry]
fn main() -> ! {
    loop {
        asm::nop();
    }
}