This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![no_std] | |
#![no_main] | |
use core::{cell::RefCell, ops::DerefMut}; | |
use cortex_m::{ | |
interrupt::{free, Mutex}, | |
peripheral::syst::SystClkSource, | |
}; | |
use cortex_m_rt::{entry, exception}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![no_std] | |
#![no_main] | |
//! VCU - Vehicle Control Unit on the stm32f3discovery (STM32 F303 VCT6) | |
extern crate panic_halt; | |
use cortex_m::asm; | |
use cortex_m_rt::entry; |