This commit is contained in:
Priec
2025-11-18 09:20:57 +01:00
parent fa343624e7
commit 66c4741afa
2 changed files with 2 additions and 1 deletions

View File

@@ -59,6 +59,7 @@
echo "cargo flash --release --chip STM32U575ZI"
echo "cargo run --bin main"
echo "probe-rs run --chip STM32U575ZITxQ target/thumbv8m.main-none-eabihf/release/main"
echo "probe-rs erase --chip STM32U575ZITxQ"
echo "target/**/build/embassy-stm32-*/out/_generated.rs"
'';
};

View File

@@ -42,7 +42,7 @@ pub async fn encode_uart_frames<'a>(
#[task]
pub async fn tx_dma_task(
ch: Peri<'static, GPDMA1_CH0>,
register: *mut u32, // Either odr or bsrr
register: *mut u32, // ODR/BSRR
tx_ring_mem: &'static mut [u32],
pipe_tx: &'static Pipe<CriticalSectionRawMutex, 1024>,
) {