diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-02-01 01:03:25 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-02-18 15:29:56 +0100 |
commit | a3f0fb062048c52c3f04e907f0107e1db9b6141c (patch) | |
tree | 07531f53a38f8b5440f3f48c6ff21e945cb506c9 /src | |
download | ntw-a3f0fb062048c52c3f04e907f0107e1db9b6141c.tar.gz ntw-a3f0fb062048c52c3f04e907f0107e1db9b6141c.tar.bz2 |
Initial commit
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 18 |
1 files changed, 18 insertions, 0 deletions
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 <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(); + } +} |