Skip to content
Snippets Groups Projects
Commit 0b025202 authored by Per's avatar Per
Browse files

to fresk

parent 3f0df235
No related branches found
No related tags found
No related merge requests found
// #![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() {}
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment