This commit is contained in:
parent
822dbd797b
commit
8930cd85b5
2 changed files with 3 additions and 6 deletions
|
@ -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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[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" }
|
embassy-time = { version = "0.4.0" }
|
||||||
cortex-m = { version = "0.7.6", features = ["inline-asm"] }
|
cortex-m = { version = "0.7.6", features = ["inline-asm"] }
|
||||||
cortex-m-rt = "0.7.3"
|
cortex-m-rt = "0.7.3"
|
||||||
|
|
||||||
pio-proc = "0.2.2"
|
|
||||||
pio = "0.2.1"
|
|
||||||
|
|
||||||
fixed = "1.23.1"
|
fixed = "1.23.1"
|
||||||
fixed-macro = "1.2"
|
fixed-macro = "1.2"
|
||||||
|
|
||||||
|
@ -31,3 +28,4 @@ serde = { version = "1.0.203", default-features = false, features = ["derive"] }
|
||||||
rp235xa = ["embassy-rp/rp235xa"]
|
rp235xa = ["embassy-rp/rp235xa"]
|
||||||
rp235xb = ["embassy-rp/rp235xb"]
|
rp235xb = ["embassy-rp/rp235xb"]
|
||||||
|
|
||||||
|
default = ["rp235xa"]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
use embassy_rp::pio::{Common, Instance, LoadedProgram};
|
use embassy_rp::pio::{program::pio_file, Common, Instance, LoadedProgram};
|
||||||
use pio_proc::pio_file;
|
|
||||||
|
|
||||||
pub struct DhtProgram<'d, PIO: Instance> {
|
pub struct DhtProgram<'d, PIO: Instance> {
|
||||||
program: LoadedProgram<'d, PIO>,
|
program: LoadedProgram<'d, PIO>,
|
||||||
|
|
Loading…
Reference in a new issue