aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-nrf/Cargo.toml')
-rw-r--r--embassy-nrf/Cargo.toml18
1 files changed, 10 insertions, 8 deletions
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml
index 08f4b280b..0a71094eb 100644
--- a/embassy-nrf/Cargo.toml
+++ b/embassy-nrf/Cargo.toml
@@ -23,8 +23,8 @@ build = [
23 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-app-s", "time", "time-driver-rtc1"]}, 23 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-app-s", "time", "time-driver-rtc1"]},
24 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-app-ns", "time", "time-driver-rtc1"]}, 24 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-app-ns", "time", "time-driver-rtc1"]},
25 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-net", "time", "time-driver-rtc1"]}, 25 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf5340-net", "time", "time-driver-rtc1"]},
26 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l15-app-s", "time", "time-driver-rtc1"]}, 26 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l15-app-s", "time", "time-driver-grtc"]},
27 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l15-app-ns", "time", "time-driver-rtc1"]}, 27 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l15-app-ns", "time", "time-driver-grtc"]},
28 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time"]}, 28 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time"]},
29 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time-driver-rtc1"]}, 29 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time-driver-rtc1"]},
30 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time", "time-driver-rtc1"]}, 30 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time", "time-driver-rtc1"]},
@@ -80,9 +80,10 @@ unstable-pac = []
80gpiote = [] 80gpiote = []
81 81
82## Use RTC1 as the time driver for `embassy-time`, with a tick rate of 32.768khz 82## Use RTC1 as the time driver for `embassy-time`, with a tick rate of 32.768khz
83## 83time-driver-rtc1 = ["_time-driver", "embassy-time-driver?/tick-hz-32_768"]
84## Note: For nRF54L, it's actually RTC30 84
85time-driver-rtc1 = ["_time-driver"] 85## Use GRTC (CC n=1, GRTC_1 irq) as the time driver for `embassy-time`, with a tick rate of 1 MHz
86time-driver-grtc = ["_time-driver", "embassy-time-driver?/tick-hz-1_000_000"]
86 87
87## Enable embassy-net 802.15.4 driver 88## Enable embassy-net 802.15.4 driver
88net-driver = ["_net-driver"] 89net-driver = ["_net-driver"]
@@ -152,7 +153,7 @@ _nrf5340-net = ["_nrf5340", "nrf-pac/nrf5340-net"]
152_nrf5340 = ["_gpio-p1", "_dppi"] 153_nrf5340 = ["_gpio-p1", "_dppi"]
153_nrf54l15-app = ["_nrf54l15", "nrf-pac/nrf54l15-app"] 154_nrf54l15-app = ["_nrf54l15", "nrf-pac/nrf54l15-app"]
154_nrf54l15 = ["_nrf54l", "_gpio-p1", "_gpio-p2"] 155_nrf54l15 = ["_nrf54l", "_gpio-p1", "_gpio-p2"]
155_nrf54l = ["_dppi"] 156_nrf54l = ["_dppi", "_grtc"]
156 157
157_nrf9160 = ["nrf-pac/nrf9160", "_dppi", "_spi-v1"] 158_nrf9160 = ["nrf-pac/nrf9160", "_dppi", "_spi-v1"]
158_nrf9120 = ["nrf-pac/nrf9120", "_dppi", "_spi-v1"] 159_nrf9120 = ["nrf-pac/nrf9120", "_dppi", "_spi-v1"]
@@ -160,7 +161,7 @@ _nrf52 = ["_ppi"]
160_nrf51 = ["_ppi", "_spi-v1"] 161_nrf51 = ["_ppi", "_spi-v1"]
161_nrf91 = [] 162_nrf91 = []
162 163
163_time-driver = ["dep:embassy-time-driver", "embassy-time-driver?/tick-hz-32_768", "dep:embassy-time-queue-utils", "embassy-embedded-hal/time"] 164_time-driver = ["dep:embassy-time-driver", "dep:embassy-time-queue-utils", "embassy-embedded-hal/time"]
164 165
165_net-driver = ["dep:embassy-net-driver-channel","dep:embassy-futures"] 166_net-driver = ["dep:embassy-net-driver-channel","dep:embassy-futures"]
166 167
@@ -173,6 +174,7 @@ _dppi = []
173_gpio-p1 = [] 174_gpio-p1 = []
174_gpio-p2 = [] 175_gpio-p2 = []
175_spi-v1 = [] 176_spi-v1 = []
177_grtc = []
176 178
177# Errata workarounds 179# Errata workarounds
178_nrf52832_anomaly_109 = [] 180_nrf52832_anomaly_109 = []
@@ -200,7 +202,7 @@ embedded-io-async = { version = "0.6.1" }
200rand-core-06 = { package = "rand_core", version = "0.6" } 202rand-core-06 = { package = "rand_core", version = "0.6" }
201rand-core-09 = { package = "rand_core", version = "0.9" } 203rand-core-09 = { package = "rand_core", version = "0.9" }
202 204
203nrf-pac = { version = "0.1.0", git = "https://github.com/embassy-rs/nrf-pac.git", rev = "58198c23bce72edc10b4e1656d1b54441fc74e7c" } 205nrf-pac = { version = "0.1.0", git = "https://github.com/embassy-rs/nrf-pac.git", rev = "0068816c482932e3c59964817610ef41e79a6843" }
204 206
205defmt = { version = "1.0.1", optional = true } 207defmt = { version = "1.0.1", optional = true }
206bitflags = "2.4.2" 208bitflags = "2.4.2"