aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf5340
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-03-01 01:32:42 +0100
committerDario Nieuwenhuis <[email protected]>2023-03-01 01:32:42 +0100
commit6dbb631f1ecb75361ee70da91f50779c29f23482 (patch)
treed84accfcb94bae68b3983a8a2518689cf868bcc1 /examples/nrf5340
parent711ce1014552b715190b1ee6780cafc92fe54240 (diff)
Example fixes.
Diffstat (limited to 'examples/nrf5340')
-rw-r--r--examples/nrf5340/Cargo.toml23
1 files changed, 7 insertions, 16 deletions
diff --git a/examples/nrf5340/Cargo.toml b/examples/nrf5340/Cargo.toml
index eed493012..e88ddf2f7 100644
--- a/examples/nrf5340/Cargo.toml
+++ b/examples/nrf5340/Cargo.toml
@@ -4,24 +4,13 @@ name = "embassy-nrf5340-examples"
4version = "0.1.0" 4version = "0.1.0"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6 6
7[features]
8default = ["nightly"]
9nightly = [
10 "embassy-executor/nightly",
11 "embassy-nrf/nightly",
12 "embassy-net/nightly",
13 "embassy-nrf/unstable-traits",
14 "embassy-usb",
15 "embedded-io/async",
16 "embassy-net",
17]
18
19[dependencies] 7[dependencies]
20embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } 8embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
21embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = [ 9embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = [
22 "defmt", 10 "defmt",
23] } 11] }
24embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = [ 12embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = [
13 "nightly",
25 "defmt", 14 "defmt",
26 "integrated-timers", 15 "integrated-timers",
27] } 16] }
@@ -30,6 +19,8 @@ embassy-time = { version = "0.1.0", path = "../../embassy-time", features = [
30 "defmt-timestamp-uptime", 19 "defmt-timestamp-uptime",
31] } 20] }
32embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = [ 21embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = [
22 "nightly",
23 "unstable-traits",
33 "defmt", 24 "defmt",
34 "nrf5340-app-s", 25 "nrf5340-app-s",
35 "time-driver-rtc1", 26 "time-driver-rtc1",
@@ -37,16 +28,16 @@ embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = [
37 "unstable-pac", 28 "unstable-pac",
38] } 29] }
39embassy-net = { version = "0.1.0", path = "../../embassy-net", features = [ 30embassy-net = { version = "0.1.0", path = "../../embassy-net", features = [
31 "nightly",
40 "defmt", 32 "defmt",
41 "tcp", 33 "tcp",
42 "dhcpv4", 34 "dhcpv4",
43 "medium-ethernet", 35 "medium-ethernet",
44], optional = true } 36] }
45embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = [ 37embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = [
46 "defmt", 38 "defmt",
47], optional = true } 39] }
48embedded-io = "0.4.0" 40embedded-io = { version = "0.4.0", features = [ "async" ]}
49
50 41
51defmt = "0.3" 42defmt = "0.3"
52defmt-rtt = "0.4" 43defmt-rtt = "0.4"