This commit is contained in:
Priec
2025-11-24 00:21:58 +01:00
parent 522236e20c
commit 6d694c840b
5 changed files with 4 additions and 8 deletions

View File

@@ -141,7 +141,6 @@ async fn main(spawner: Spawner) {
spawner.spawn(tx_dma_task(
p.GPDMA1_CH0,
bsrr_ptr,
SW_TX_RING.init([0; TX_RING_BYTES]),
&PIPE_SW_TX,
TX_PIN_BIT,
&UART_CFG,

View File

@@ -3,7 +3,7 @@ use software_uart::uart_emulation::{Parity, StopBits, UartConfig};
use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex;
use embassy_sync::pipe::Pipe;
pub const BAUD: u32 = 9_600;
pub const BAUD: u32 = 57_600;
// pub const TX_PIN_BIT: u8 = 2; // PA2
// pub const RX_PIN_BIT: u8 = 3; // PA3
pub const TX_PIN_BIT: u8 = 0; // PB2