initial commit

This commit is contained in:
Jorge Aparicio
2017-03-12 13:01:08 -05:00
commit 63213f3568
13 changed files with 492 additions and 0 deletions

20
examples/minimal.rs Normal file
View File

@@ -0,0 +1,20 @@
//! Minimal application
#![no_std]
extern crate cortex_m;
extern crate cortex_m_rt;
extern crate {{name}};
use cortex_m::exception;
use {{name}}::interrupt;
fn main() {}
#[no_mangle]
pub static _INTERRUPTS: interrupt::Handlers =
interrupt::Handlers { ..interrupt::DEFAULT_HANDLERS };
#[no_mangle]
pub static _EXCEPTIONS: exception::Handlers =
exception::Handlers { ..exception::DEFAULT_HANDLERS };