Fix pio loading
Some checks failed
Check Build / Test build (push) Has been cancelled

This commit is contained in:
Michael Huebner 2025-03-31 15:06:49 +02:00
parent 822dbd797b
commit 8930cd85b5
2 changed files with 3 additions and 6 deletions

View file

@ -14,14 +14,11 @@ categories = ["embedded", "hardware-support", "no-std"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
embassy-rp = { version = "0.4.0", features = ["unstable-pac", "time-driver", "critical-section-impl"] }
embassy-rp = { version = "0.4.0", features = ["critical-section-impl", "time-driver", "unstable-pac"] }
embassy-time = { version = "0.4.0" }
cortex-m = { version = "0.7.6", features = ["inline-asm"] }
cortex-m-rt = "0.7.3"
pio-proc = "0.2.2"
pio = "0.2.1"
fixed = "1.23.1"
fixed-macro = "1.2"
@ -31,3 +28,4 @@ serde = { version = "1.0.203", default-features = false, features = ["derive"] }
rp235xa = ["embassy-rp/rp235xa"]
rp235xb = ["embassy-rp/rp235xb"]
default = ["rp235xa"]

View file

@ -1,5 +1,4 @@
use embassy_rp::pio::{Common, Instance, LoadedProgram};
use pio_proc::pio_file;
use embassy_rp::pio::{program::pio_file, Common, Instance, LoadedProgram};
pub struct DhtProgram<'d, PIO: Instance> {
program: LoadedProgram<'d, PIO>,