aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2025-03-06 07:13:03 +0000
committerGitHub <[email protected]>2025-03-06 07:13:03 +0000
commit6af79f00e8fd5a32119a87870c8cb485f2513b5b (patch)
tree5014edc25357948c207fba6af729b1a84bd23bc8 /examples
parent0edd45e61013539f0d8379bf38177f6cb03f5fc0 (diff)
parent24941212e8130cddef974aab865bce4c7e294c33 (diff)
Merge pull request #3935 from edenbarby/main
embassy-rp: pio: Add access to DMA engine byte swapping
Diffstat (limited to 'examples')
-rw-r--r--examples/rp/src/bin/pio_dma.rs4
-rw-r--r--examples/rp235x/src/bin/pio_dma.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/rp/src/bin/pio_dma.rs b/examples/rp/src/bin/pio_dma.rs
index d00ed2142..da6e47a1b 100644
--- a/examples/rp/src/bin/pio_dma.rs
+++ b/examples/rp/src/bin/pio_dma.rs
@@ -72,8 +72,8 @@ async fn main(_spawner: Spawner) {
72 loop { 72 loop {
73 let (rx, tx) = sm.rx_tx(); 73 let (rx, tx) = sm.rx_tx();
74 join( 74 join(
75 tx.dma_push(dma_out_ref.reborrow(), &dout), 75 tx.dma_push(dma_out_ref.reborrow(), &dout, false),
76 rx.dma_pull(dma_in_ref.reborrow(), &mut din), 76 rx.dma_pull(dma_in_ref.reborrow(), &mut din, false),
77 ) 77 )
78 .await; 78 .await;
79 for i in 0..din.len() { 79 for i in 0..din.len() {
diff --git a/examples/rp235x/src/bin/pio_dma.rs b/examples/rp235x/src/bin/pio_dma.rs
index d00ed2142..da6e47a1b 100644
--- a/examples/rp235x/src/bin/pio_dma.rs
+++ b/examples/rp235x/src/bin/pio_dma.rs
@@ -72,8 +72,8 @@ async fn main(_spawner: Spawner) {
72 loop { 72 loop {
73 let (rx, tx) = sm.rx_tx(); 73 let (rx, tx) = sm.rx_tx();
74 join( 74 join(
75 tx.dma_push(dma_out_ref.reborrow(), &dout), 75 tx.dma_push(dma_out_ref.reborrow(), &dout, false),
76 rx.dma_pull(dma_in_ref.reborrow(), &mut din), 76 rx.dma_pull(dma_in_ref.reborrow(), &mut din, false),
77 ) 77 )
78 .await; 78 .await;
79 for i in 0..din.len() { 79 for i in 0..din.len() {