Skip to content

Commit

Permalink
Update versions of everything
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmunns committed Jan 24, 2025
1 parent d2960df commit 8167869
Show file tree
Hide file tree
Showing 15 changed files with 878 additions and 541 deletions.
308 changes: 208 additions & 100 deletions examples/i2c-passthru/rp2040/Cargo.lock

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions examples/i2c-passthru/rp2040/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ edition = "2021"

[dependencies]
cortex-m = { version = "0.7.6", features = ["inline-asm"] }
embassy-executor = { version = "0.6.0", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] }
embassy-rp = { version = "0.2.0", features = ["rp2040", "defmt", "unstable-pac", "time-driver", "critical-section-impl"] }
embassy-executor = { version = "0.7.0", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt"] }
embassy-rp = { version = "0.3.0", features = ["rp2040", "defmt", "unstable-pac", "time-driver", "critical-section-impl"] }
embassy-sync = { version = "0.6.0", features = ["defmt"] }
embassy-time = { version = "0.3.2", features = ["defmt", "defmt-timestamp-uptime"] }
embassy-usb = { version = "0.3.0", features = ["defmt"] }
embassy-time = { version = "0.4.0", features = ["defmt", "defmt-timestamp-uptime"] }
embassy-usb = { version = "0.4.0", features = ["defmt"] }
panic-probe = { version = "0.3", features = ["print-defmt"] }
postcard-rpc = { version = "0.11.0", features = ["embassy-usb-0_3-server"] }
postcard-rpc = { version = "0.11.0", features = ["embassy-usb-0_4-server"] }
postcard = { version = "1.1.0" }
postcard-schema = { version = "0.2.0", features = ["derive"] }
portable-atomic = { version = "1.6.0", features = ["critical-section"] }
Expand Down Expand Up @@ -41,10 +41,10 @@ codegen-units = 256
rpath = false

[patch.crates-io]
embassy-embedded-hal = { git = "https://github.com/embassy-rs/embassy", rev = "32cff6530fdb81066451cc1d3f1fbbb420e985da" }
embassy-executor = { git = "https://github.com/embassy-rs/embassy", rev = "32cff6530fdb81066451cc1d3f1fbbb420e985da" }
embassy-rp = { git = "https://github.com/embassy-rs/embassy", rev = "32cff6530fdb81066451cc1d3f1fbbb420e985da" }
embassy-sync = { git = "https://github.com/embassy-rs/embassy", rev = "32cff6530fdb81066451cc1d3f1fbbb420e985da" }
embassy-time = { git = "https://github.com/embassy-rs/embassy", rev = "32cff6530fdb81066451cc1d3f1fbbb420e985da" }
embassy-usb = { git = "https://github.com/embassy-rs/embassy", rev = "32cff6530fdb81066451cc1d3f1fbbb420e985da" }
embassy-usb-driver = { git = "https://github.com/embassy-rs/embassy", rev = "32cff6530fdb81066451cc1d3f1fbbb420e985da" }
embassy-embedded-hal = { git = "https://github.com/embassy-rs/embassy", rev = "51d87c6603631fda6fb59ca1a65a99c08138b081" }
embassy-executor = { git = "https://github.com/embassy-rs/embassy", rev = "51d87c6603631fda6fb59ca1a65a99c08138b081" }
embassy-rp = { git = "https://github.com/embassy-rs/embassy", rev = "51d87c6603631fda6fb59ca1a65a99c08138b081" }
embassy-sync = { git = "https://github.com/embassy-rs/embassy", rev = "51d87c6603631fda6fb59ca1a65a99c08138b081" }
embassy-time = { git = "https://github.com/embassy-rs/embassy", rev = "51d87c6603631fda6fb59ca1a65a99c08138b081" }
embassy-usb = { git = "https://github.com/embassy-rs/embassy", rev = "51d87c6603631fda6fb59ca1a65a99c08138b081" }
embassy-usb-driver = { git = "https://github.com/embassy-rs/embassy", rev = "51d87c6603631fda6fb59ca1a65a99c08138b081" }
6 changes: 3 additions & 3 deletions examples/i2c-passthru/rp2040/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use i2c_passthru_icd::{
RebootToPicoBoot, SetLedEndpoint, SleepEndpoint, ENDPOINT_LIST, TOPICS_IN_LIST,
TOPICS_OUT_LIST,
};
use postcard_rpc::server::impls::embassy_usb_v0_3::{
use postcard_rpc::server::impls::embassy_usb_v0_4::{
dispatch_impl::{spawn_fn, WireRxBuf, WireRxImpl, WireSpawnImpl, WireStorage, WireTxImpl},
PacketBuffers,
};
Expand Down Expand Up @@ -89,11 +89,11 @@ define_dispatch! {
// app.
app: MyApp;
// This chooses how we spawn functions. Here, we use the implementation
// from the `embassy_usb_v0_3` implementation
// from the `embassy_usb_v0_4` implementation
spawn_fn: spawn_fn;
// This is our TX impl, which we aliased above
tx_impl: AppTx;
// This is our spawn impl, which also comes from `embassy_usb_v0_3`.
// This is our spawn impl, which also comes from `embassy_usb_v0_4`.
spawn_impl: WireSpawnImpl;
// This is the context type we defined above
context: Context;
Expand Down
Loading

0 comments on commit 8167869

Please sign in to comment.