Added access to the byte swap flag for RP2*** chips for the PIO state machine DMA calls.

This commit is contained in:
eden barby
2025-03-01 17:23:04 +10:00
parent 17301c00e9
commit 24941212e8
7 changed files with 25 additions and 14 deletions

View File

@@ -72,8 +72,8 @@ async fn main(_spawner: Spawner) {
loop {
let (rx, tx) = sm.rx_tx();
join(
tx.dma_push(dma_out_ref.reborrow(), &dout),
rx.dma_pull(dma_in_ref.reborrow(), &mut din),
tx.dma_push(dma_out_ref.reborrow(), &dout, false),
rx.dma_pull(dma_in_ref.reborrow(), &mut din, false),
)
.await;
for i in 0..din.len() {