HAL update + CHANGELOG

This commit is contained in:
2025-02-14 15:26:01 +01:00
parent 74055b9e6b
commit 5549a83263
4 changed files with 34 additions and 6 deletions

View File

@ -32,7 +32,8 @@ use va416xx_hal::{
uart,
};
pub type SharedUart = Mutex<CriticalSectionRawMutex, RefCell<Option<uart::RxWithIrq<pac::Uart0>>>>;
pub type SharedUart =
Mutex<CriticalSectionRawMutex, RefCell<Option<uart::RxWithInterrupt<pac::Uart0>>>>;
static RX: SharedUart = Mutex::new(RefCell::new(None));
const BAUDRATE: u32 = 115200;