horn_driver/src/main.rs

20 lines
316 B
Rust
Raw Normal View History

#![no_std]
#![no_main]
use cortex_m_rt::entry;
#[allow(unused_imports)]
use panic_halt;
use stm32l4xx_hal::{pac, rcc::RccExt};
#[entry]
fn main() -> ! {
let dp = pac::Peripherals::take().unwrap();
// let cp = cortex_m::Peripherals::take().unwrap();
let mut _rcc = dp.RCC.constrain();
loop {}
}