rtic/tests/cfail/interrupt.rs

28 lines
400 B
Rust
Raw Normal View History

#![deny(unsafe_code)]
2017-07-20 23:16:40 +02:00
#![deny(warnings)]
#![feature(proc_macro)]
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;
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() {}