aboutsummaryrefslogtreecommitdiff
path: root/cyw43-pio
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-02-10 00:03:49 +0100
committerDario Nieuwenhuis <[email protected]>2025-02-18 18:14:57 +0100
commit52dfefb63242ad49fd126470042411f464fe624d (patch)
tree69c559a4b4ecbab92e8b2963d8331546862d7de4 /cyw43-pio
parentdcf0868dd017c6df0c82e504864956374019f484 (diff)
rp/pio: update pio-rs crate, reexport it so users don't get version mismatches.
Diffstat (limited to 'cyw43-pio')
-rw-r--r--cyw43-pio/Cargo.toml2
-rw-r--r--cyw43-pio/src/lib.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/cyw43-pio/Cargo.toml b/cyw43-pio/Cargo.toml
index f52788ba3..2397c76d3 100644
--- a/cyw43-pio/Cargo.toml
+++ b/cyw43-pio/Cargo.toml
@@ -12,8 +12,6 @@ documentation = "https://docs.embassy.dev/cyw43-pio"
12[dependencies] 12[dependencies]
13cyw43 = { version = "0.3.0", path = "../cyw43" } 13cyw43 = { version = "0.3.0", path = "../cyw43" }
14embassy-rp = { version = "0.3.0", path = "../embassy-rp" } 14embassy-rp = { version = "0.3.0", path = "../embassy-rp" }
15pio-proc = { git = "https://github.com/rp-rs/pio-rs", rev = "fa586448b0b223217eec8c92c19fe6823dd04cc4" }
16pio = { git = "https://github.com/rp-rs/pio-rs", rev = "fa586448b0b223217eec8c92c19fe6823dd04cc4" }
17fixed = "1.23.1" 15fixed = "1.23.1"
18defmt = { version = "0.3", optional = true } 16defmt = { version = "0.3", optional = true }
19 17
diff --git a/cyw43-pio/src/lib.rs b/cyw43-pio/src/lib.rs
index b08e68307..d0d504395 100644
--- a/cyw43-pio/src/lib.rs
+++ b/cyw43-pio/src/lib.rs
@@ -8,11 +8,11 @@ use core::slice;
8use cyw43::SpiBusCyw43; 8use cyw43::SpiBusCyw43;
9use embassy_rp::dma::Channel; 9use embassy_rp::dma::Channel;
10use embassy_rp::gpio::{Drive, Level, Output, Pull, SlewRate}; 10use embassy_rp::gpio::{Drive, Level, Output, Pull, SlewRate};
11use embassy_rp::pio::program::pio_asm;
11use embassy_rp::pio::{Common, Config, Direction, Instance, Irq, PioPin, ShiftDirection, StateMachine}; 12use embassy_rp::pio::{Common, Config, Direction, Instance, Irq, PioPin, ShiftDirection, StateMachine};
12use embassy_rp::{Peripheral, PeripheralRef}; 13use embassy_rp::{Peripheral, PeripheralRef};
13use fixed::types::extra::U8; 14use fixed::types::extra::U8;
14use fixed::FixedU32; 15use fixed::FixedU32;
15use pio_proc::pio_asm;
16 16
17/// SPI comms driven by PIO. 17/// SPI comms driven by PIO.
18pub struct PioSpi<'d, PIO: Instance, const SM: usize, DMA> { 18pub struct PioSpi<'d, PIO: Instance, const SM: usize, DMA> {