Select Git revision
rtfm_interrupt.rs
rtfm_interrupt.rs 432 B
// #![deny(unsafe_code)]
// #![deny(warnings)]
#![no_main]
#![no_std]
extern crate panic_halt;
extern crate stm32f4xx_hal as hal;
// use crate::hal::stm32::Interrupt::EXTI0;
use rtfm::app;
// use hal::stm32::Interrupt::EXTI0;
#[app(device = hal::stm32)]
// #[app(device = stm32f4xx_hal::stm32)]
const APP: () = {
// init runs in an interrupt free section
#[init]
fn init() {}
#[interrupt]
fn EXTI0() {}
};