Initial Commit

TODOS:
1. Ensure memory.x has correct memory regions.
2. Add HAL loop delay.
This commit is contained in:
Lorenzo Good 2026-06-01 13:40:49 -04:00
commit 603d0be507
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
10 changed files with 645 additions and 0 deletions

17
src/main.rs Normal file
View file

@ -0,0 +1,17 @@
#![no_std]
#![no_main]
// Halt on all panics. If breaking on a panic is required use `rust_begin_unwind`.
#[allow(unused_imports)]
use panic_halt;
use cortex_m_rt::entry;
use stm32l4xx_hal::{pac, rcc::RccExt};
#[entry]
fn main() -> ! {
let dp = pac::Peripherals::take().unwrap();
let cp = cortex_m::Peripherals::take().unwrap();
loop {}
}