From a3f0fb062048c52c3f04e907f0107e1db9b6141c Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 1 Feb 2019 01:03:25 +0100 Subject: Initial commit --- src/main.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/main.rs (limited to 'src') diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..d76cf33 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,18 @@ +// Copyright 2019 Robin Krahl +// 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(); + } +} -- cgit v1.2.3