diff options
| author | kalkyl <[email protected]> | 2023-11-07 20:17:19 +0100 |
|---|---|---|
| committer | kalkyl <[email protected]> | 2023-11-07 20:17:19 +0100 |
| commit | 37a773c037223573f5bfb3c81c347240af4fa171 (patch) | |
| tree | f5a9de3b5a2272d13d3f291c907901e1c2f2c0dd /examples | |
| parent | d1adc936141b06cb2d8acd2f8a15279307ef06a6 (diff) | |
Use driver reexport
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rp/Cargo.toml | 1 | ||||
| -rw-r--r-- | examples/rp/src/bin/usb_raw_bulk.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml index c53510445..5ff505e86 100644 --- a/examples/rp/Cargo.toml +++ b/examples/rp/Cargo.toml | |||
| @@ -12,7 +12,6 @@ embassy-executor = { version = "0.3.1", path = "../../embassy-executor", feature | |||
| 12 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["nightly", "unstable-traits", "defmt", "defmt-timestamp-uptime"] } | 12 | embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["nightly", "unstable-traits", "defmt", "defmt-timestamp-uptime"] } |
| 13 | embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "critical-section-impl"] } | 13 | embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["defmt", "unstable-traits", "nightly", "unstable-pac", "time-driver", "critical-section-impl"] } |
| 14 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor"] } | 14 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt", "msos-descriptor"] } |
| 15 | embassy-usb-driver = { version = "0.1.0", path = "../../embassy-usb-driver" } | ||
| 16 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "udp", "dhcpv4", "medium-ethernet"] } | 15 | embassy-net = { version = "0.2.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "udp", "dhcpv4", "medium-ethernet"] } |
| 17 | embassy-net-wiznet = { version = "0.1.0", path = "../../embassy-net-wiznet", features = ["defmt"] } | 16 | embassy-net-wiznet = { version = "0.1.0", path = "../../embassy-net-wiznet", features = ["defmt"] } |
| 18 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } | 17 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } |
diff --git a/examples/rp/src/bin/usb_raw_bulk.rs b/examples/rp/src/bin/usb_raw_bulk.rs index e8618c48d..b2274e6c3 100644 --- a/examples/rp/src/bin/usb_raw_bulk.rs +++ b/examples/rp/src/bin/usb_raw_bulk.rs | |||
| @@ -36,7 +36,7 @@ use embassy_rp::peripherals::USB; | |||
| 36 | use embassy_rp::usb::{Driver, InterruptHandler}; | 36 | use embassy_rp::usb::{Driver, InterruptHandler}; |
| 37 | use embassy_usb::msos::{self, windows_version}; | 37 | use embassy_usb::msos::{self, windows_version}; |
| 38 | use embassy_usb::{Builder, Config, Handler}; | 38 | use embassy_usb::{Builder, Config, Handler}; |
| 39 | use embassy_usb_driver::{Endpoint, EndpointIn, EndpointOut}; | 39 | use embassy_usb::driver::{Endpoint, EndpointIn, EndpointOut}; |
| 40 | use {defmt_rtt as _, panic_probe as _}; | 40 | use {defmt_rtt as _, panic_probe as _}; |
| 41 | 41 | ||
| 42 | // This is a randomly generated GUID to allow clients on Windows to find our device | 42 | // This is a randomly generated GUID to allow clients on Windows to find our device |
