diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-03-01 01:32:42 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-03-01 01:32:42 +0100 |
| commit | 6dbb631f1ecb75361ee70da91f50779c29f23482 (patch) | |
| tree | d84accfcb94bae68b3983a8a2518689cf868bcc1 /examples/nrf5340 | |
| parent | 711ce1014552b715190b1ee6780cafc92fe54240 (diff) | |
Example fixes.
Diffstat (limited to 'examples/nrf5340')
| -rw-r--r-- | examples/nrf5340/Cargo.toml | 23 |
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" | |||
| 4 | version = "0.1.0" | 4 | version = "0.1.0" |
| 5 | license = "MIT OR Apache-2.0" | 5 | license = "MIT OR Apache-2.0" |
| 6 | 6 | ||
| 7 | [features] | ||
| 8 | default = ["nightly"] | ||
| 9 | nightly = [ | ||
| 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] |
| 20 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } | 8 | embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } |
| 21 | embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = [ | 9 | embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = [ |
| 22 | "defmt", | 10 | "defmt", |
| 23 | ] } | 11 | ] } |
| 24 | embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = [ | 12 | embassy-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 | ] } |
| 32 | embassy-nrf = { version = "0.1.0", path = "../../embassy-nrf", features = [ | 21 | embassy-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 | ] } |
| 39 | embassy-net = { version = "0.1.0", path = "../../embassy-net", features = [ | 30 | embassy-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 | ] } |
| 45 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = [ | 37 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = [ |
| 46 | "defmt", | 38 | "defmt", |
| 47 | ], optional = true } | 39 | ] } |
| 48 | embedded-io = "0.4.0" | 40 | embedded-io = { version = "0.4.0", features = [ "async" ]} |
| 49 | |||
| 50 | 41 | ||
| 51 | defmt = "0.3" | 42 | defmt = "0.3" |
| 52 | defmt-rtt = "0.4" | 43 | defmt-rtt = "0.4" |
