Skip to content

Commit

Permalink
TMP: use pio-rs from cbjamo
Browse files Browse the repository at this point in the history
  • Loading branch information
pferreir committed Sep 24, 2024
1 parent d2f959c commit a13f24b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 7 additions & 2 deletions embassy-rp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ boot2-none = []

## Configure the hal for use with the rp2040
rp2040 = ["rp-pac/rp2040"]
_rp235x = ["rp-pac/rp235x"]
_rp235x = ["rp-pac/rp235x", "pio/rp2350", "pio-proc/rp2350"]
## Configure the hal for use with the rp235xA
rp235xa = ["_rp235x"]
## Configure the hal for use with the rp235xB
Expand Down Expand Up @@ -139,7 +139,7 @@ embedded-hal-async = { version = "1.0" }
embedded-hal-nb = { version = "1.0" }

pio-proc = {version= "0.2" }
pio = {version= "0.2.1" }
pio = { version= "0.2.1" }
rp2040-boot2 = "0.3"
document-features = "0.2.7"
sha2-const-stable = "0.1"
Expand All @@ -148,3 +148,8 @@ rp-binary-info = { version = "0.1.0", optional = true }
[dev-dependencies]
embassy-executor = { version = "0.6.0", path = "../embassy-executor", features = ["arch-std", "executor-thread"] }
static_cell = { version = "2" }

[patch.crates-io]
pio = { git="https:/CBJamo/pio-rs.git", rev="72a5a7daa859b9d8a416564a2fbf849f58e51639" }
pio-parser = { git="https:/CBJamo/pio-rs.git", rev="72a5a7daa859b9d8a416564a2fbf849f58e51639" }
pio-proc = { git="https:/CBJamo/pio-rs.git", rev="72a5a7daa859b9d8a416564a2fbf849f58e51639" }
8 changes: 6 additions & 2 deletions examples/rp23/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ embedded-storage = { version = "0.3" }
static_cell = "2.1"
portable-atomic = { version = "1.5", features = ["critical-section"] }
log = "0.4"
pio-proc = "0.2"
pio = "0.2.1"
pio-proc = { version = "0.2", feature = ["rp2350"] }
pio = { version = "0.2.1", feature = ["rp2350"] }
rand = { version = "0.8.5", default-features = false }
embedded-sdmmc = "0.7.0"

Expand All @@ -77,3 +77,7 @@ embassy-futures = { path = "../../embassy-futures" }
embassy-time = { path = "../../embassy-time" }
embassy-time-driver = { path = "../../embassy-time-driver" }
embassy-embedded-hal = { path = "../../embassy-embedded-hal" }

pio = { git="https:/CBJamo/pio-rs.git", rev="72a5a7daa859b9d8a416564a2fbf849f58e51639" }
pio-parser = { git="https:/CBJamo/pio-rs.git", rev="72a5a7daa859b9d8a416564a2fbf849f58e51639" }
pio-proc = { git="https:/CBJamo/pio-rs.git", rev="72a5a7daa859b9d8a416564a2fbf849f58e51639" }

0 comments on commit a13f24b

Please sign in to comment.