aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-rp/Cargo.toml')
-rw-r--r--embassy-rp/Cargo.toml11
1 files changed, 5 insertions, 6 deletions
diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml
index ddada655b..b68f95385 100644
--- a/embassy-rp/Cargo.toml
+++ b/embassy-rp/Cargo.toml
@@ -13,7 +13,8 @@ flavors = [
13] 13]
14 14
15[features] 15[features]
16default = [ "rp-pac/rt" ] 16default = [ "rt" ]
17rt = [ "rp-pac/rt" ]
17 18
18defmt = ["dep:defmt", "embassy-usb-driver?/defmt", "embassy-hal-common/defmt"] 19defmt = ["dep:defmt", "embassy-usb-driver?/defmt", "embassy-hal-common/defmt"]
19 20
@@ -47,7 +48,7 @@ boot2-w25x10cl = []
47run-from-ram = [] 48run-from-ram = []
48 49
49# Enable nightly-only features 50# Enable nightly-only features
50nightly = ["embassy-executor/nightly", "embedded-hal-1", "embedded-hal-async", "embassy-embedded-hal/nightly", "dep:embassy-usb-driver", "dep:embedded-io"] 51nightly = ["embedded-hal-1", "embedded-hal-async", "embassy-embedded-hal/nightly", "dep:embassy-usb-driver", "dep:embedded-io"]
51 52
52# Implement embedded-hal 1.0 alpha traits. 53# Implement embedded-hal 1.0 alpha traits.
53# Implement embedded-hal-async traits if `nightly` is set as well. 54# Implement embedded-hal-async traits if `nightly` is set as well.
@@ -55,11 +56,9 @@ unstable-traits = ["embedded-hal-1", "embedded-hal-nb"]
55 56
56[dependencies] 57[dependencies]
57embassy-sync = { version = "0.2.0", path = "../embassy-sync" } 58embassy-sync = { version = "0.2.0", path = "../embassy-sync" }
58embassy-executor = { version = "0.2.0", path = "../embassy-executor" }
59embassy-time = { version = "0.1.0", path = "../embassy-time", features = [ "tick-hz-1_000_000" ] } 59embassy-time = { version = "0.1.0", path = "../embassy-time", features = [ "tick-hz-1_000_000" ] }
60embassy-futures = { version = "0.1.0", path = "../embassy-futures" } 60embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
61embassy-cortex-m = { version = "0.1.0", path = "../embassy-cortex-m", features = ["prio-bits-2"]} 61embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common", features = ["cortex-m", "prio-bits-2"] }
62embassy-hal-common = {version = "0.1.0", path = "../embassy-hal-common" }
63embassy-embedded-hal = {version = "0.1.0", path = "../embassy-embedded-hal" } 62embassy-embedded-hal = {version = "0.1.0", path = "../embassy-embedded-hal" }
64embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver", optional = true } 63embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver", optional = true }
65atomic-polyfill = "1.0.1" 64atomic-polyfill = "1.0.1"
@@ -90,5 +89,5 @@ pio = {version= "0.2.1" }
90rp2040-boot2 = "0.3" 89rp2040-boot2 = "0.3"
91 90
92[dev-dependencies] 91[dev-dependencies]
93embassy-executor = { version = "0.2.0", path = "../embassy-executor", features = ["arch-std", "executor-thread"] } 92embassy-executor = { version = "0.2.0", path = "../embassy-executor", features = ["nightly", "arch-std", "executor-thread"] }
94static_cell = "1.1" 93static_cell = "1.1"