2017-12-09 15:12:42 +01:00
|
|
|
#![deny(unsafe_code)]
|
2017-07-20 23:16:40 +02:00
|
|
|
#![deny(warnings)]
|
2017-07-24 03:51:58 +02:00
|
|
|
#![no_std]
|
2017-07-20 23:16:40 +02:00
|
|
|
|
|
|
|
extern crate cortex_m_rtfm as rtfm;
|
|
|
|
extern crate stm32f103xx;
|
|
|
|
|
|
|
|
use rtfm::app;
|
|
|
|
|
2018-04-08 18:23:27 +02:00
|
|
|
app! { //~ error no variant named `EXTI33` found for type
|
2017-07-20 23:16:40 +02:00
|
|
|
device: stm32f103xx,
|
|
|
|
|
|
|
|
tasks: {
|
2017-07-28 04:30:24 +02:00
|
|
|
EXTI33: {
|
|
|
|
path: exti33,
|
|
|
|
},
|
2017-07-20 23:16:40 +02:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
fn init(_p: init::Peripherals) {}
|
|
|
|
|
|
|
|
fn idle() -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|
2017-07-28 04:30:24 +02:00
|
|
|
|
|
|
|
fn exti33() {}
|