aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-06-22 15:30:26 +0200
committerDario Nieuwenhuis <[email protected]>2023-06-22 21:12:10 +0200
commit0d02298ea628b9d2154fd05db7975f62b8d12edb (patch)
tree88ffba49a4f6e00ecd40a869eefc07a855ef56eb /examples
parent1ed909ea74bfff75bd91b35739a44c5128271571 (diff)
esp-hosted: fix build on stable.
Diffstat (limited to 'examples')
-rw-r--r--examples/nrf52840/Cargo.toml24
1 files changed, 20 insertions, 4 deletions
diff --git a/examples/nrf52840/Cargo.toml b/examples/nrf52840/Cargo.toml
index 7c9d48bad..8c4175966 100644
--- a/examples/nrf52840/Cargo.toml
+++ b/examples/nrf52840/Cargo.toml
@@ -6,8 +6,24 @@ license = "MIT OR Apache-2.0"
6 6
7[features] 7[features]
8default = ["nightly"] 8default = ["nightly"]
9nightly = ["embassy-executor/nightly", "embassy-nrf/nightly", "embassy-net/nightly", "embassy-nrf/unstable-traits", "embassy-time/nightly", "embassy-time/unstable-traits", "static_cell/nightly", 9nightly = [
10 "embassy-usb", "embedded-io/async", "embassy-net", "embassy-lora", "lora-phy", "lorawan-device", "lorawan"] 10 "embedded-hal-async",
11 "embassy-executor/nightly",
12 "embassy-nrf/nightly",
13 "embassy-net/nightly",
14 "embassy-net-esp-hosted",
15 "embassy-nrf/unstable-traits",
16 "embassy-time/nightly",
17 "embassy-time/unstable-traits",
18 "static_cell/nightly",
19 "embassy-usb",
20 "embedded-io/async",
21 "embassy-net",
22 "embassy-lora",
23 "lora-phy",
24 "lorawan-device",
25 "lorawan",
26]
11 27
12[dependencies] 28[dependencies]
13embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } 29embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
@@ -22,7 +38,7 @@ embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["ti
22lora-phy = { version = "1", optional = true } 38lora-phy = { version = "1", optional = true }
23lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"], optional = true } 39lorawan-device = { version = "0.10.0", default-features = false, features = ["async", "external-lora-phy"], optional = true }
24lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"], optional = true } 40lorawan = { version = "0.7.3", default-features = false, features = ["default-crypto"], optional = true }
25embassy-net-esp-hosted = { version = "0.1.0", path = "../../embassy-net-esp-hosted", features = ["defmt"] } 41embassy-net-esp-hosted = { version = "0.1.0", path = "../../embassy-net-esp-hosted", features = ["defmt"], optional = true }
26 42
27defmt = "0.3" 43defmt = "0.3"
28defmt-rtt = "0.4" 44defmt-rtt = "0.4"
@@ -36,4 +52,4 @@ rand = { version = "0.8.4", default-features = false }
36embedded-storage = "0.3.0" 52embedded-storage = "0.3.0"
37usbd-hid = "0.6.0" 53usbd-hid = "0.6.0"
38serde = { version = "1.0.136", default-features = false } 54serde = { version = "1.0.136", default-features = false }
39embedded-hal-async = "0.2.0-alpha.1" 55embedded-hal-async = { version = "0.2.0-alpha.1", optional = true }