stm32/dma: add AnyChannel, add support for BDMA on H7.

This commit is contained in:
Dario Nieuwenhuis
2024-02-24 02:38:31 +01:00
parent f77d59500e
commit e67dfcb04f
12 changed files with 1210 additions and 2152 deletions

View File

@@ -74,7 +74,7 @@ async fn transmit_task(mut tx: UartTx<'static, peris::UART, peris::UART_TX_DMA>)
}
#[embassy_executor::task]
async fn receive_task(mut rx: RingBufferedUartRx<'static, peris::UART, peris::UART_RX_DMA>) {
async fn receive_task(mut rx: RingBufferedUartRx<'static, peris::UART>) {
info!("Ready to receive...");
let mut rng = ChaCha8Rng::seed_from_u64(1337);