aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/Cargo.toml
diff options
context:
space:
mode:
authorRaul Alimbekov <[email protected]>2025-12-16 09:05:22 +0300
committerGitHub <[email protected]>2025-12-16 09:05:22 +0300
commitc9a04b4b732b7a3b696eb8223664c1a7942b1875 (patch)
tree6dbe5c02e66eed8d8762f13f95afd24f8db2b38c /embassy-nrf/Cargo.toml
parentcde24a3ef1117653ba5ed4184102b33f745782fb (diff)
parent5ae6e060ec1c90561719aabdc29d5b6e7b8b0a82 (diff)
Merge branch 'main' into main
Diffstat (limited to 'embassy-nrf/Cargo.toml')
-rw-r--r--embassy-nrf/Cargo.toml64
1 files changed, 45 insertions, 19 deletions
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml
index 362fabcf7..9a5fdc809 100644
--- a/embassy-nrf/Cargo.toml
+++ b/embassy-nrf/Cargo.toml
@@ -1,7 +1,7 @@
1[package] 1[package]
2name = "embassy-nrf" 2name = "embassy-nrf"
3version = "0.8.0" 3version = "0.9.0"
4edition = "2021" 4edition = "2024"
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
6description = "Embassy Hardware Abstraction Layer (HAL) for nRF series microcontrollers" 6description = "Embassy Hardware Abstraction Layer (HAL) for nRF series microcontrollers"
7keywords = ["embedded", "async", "nordic", "nrf", "embedded-hal"] 7keywords = ["embedded", "async", "nordic", "nrf", "embedded-hal"]
@@ -23,8 +23,13 @@ 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 = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l10-app-s", "time", "time-driver-grtc"]},
29 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l10-app-ns", "time", "time-driver-grtc"]},
30 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l05-app-s", "time", "time-driver-grtc"]},
31 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54l05-app-ns", "time", "time-driver-grtc"]},
32 {target = "thumbv8m.main-none-eabihf", features = ["gpiote", "nrf54lm20-app-s", "time", "time-driver-grtc"]},
28 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time"]}, 33 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time"]},
29 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time-driver-rtc1"]}, 34 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time-driver-rtc1"]},
30 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time", "time-driver-rtc1"]}, 35 {target = "thumbv7em-none-eabi", features = ["gpiote", "nrf52840", "time", "time-driver-rtc1"]},
@@ -80,7 +85,10 @@ unstable-pac = []
80gpiote = [] 85gpiote = []
81 86
82## Use RTC1 as the time driver for `embassy-time`, with a tick rate of 32.768khz 87## Use RTC1 as the time driver for `embassy-time`, with a tick rate of 32.768khz
83time-driver-rtc1 = ["_time-driver"] 88time-driver-rtc1 = ["_time-driver", "embassy-time-driver?/tick-hz-32_768"]
89
90## Use GRTC (CC n=1, GRTC_1 irq) as the time driver for `embassy-time`, with a tick rate of 1 MHz
91time-driver-grtc = ["_time-driver", "embassy-time-driver?/tick-hz-1_000_000"]
84 92
85## Enable embassy-net 802.15.4 driver 93## Enable embassy-net 802.15.4 driver
86net-driver = ["_net-driver"] 94net-driver = ["_net-driver"]
@@ -102,17 +110,17 @@ qspi-multiwrite-flash = []
102 110
103#! ### Chip selection features 111#! ### Chip selection features
104## nRF51 112## nRF51
105nrf51 = ["nrf-pac/nrf51", "_nrf51"] 113nrf51 = ["nrf-pac/nrf51", "_nrf51", "_spi-v1"]
106## nRF52805 114## nRF52805
107nrf52805 = ["nrf-pac/nrf52805", "_nrf52"] 115nrf52805 = ["nrf-pac/nrf52805", "_nrf52", "_spi-v1"]
108## nRF52810 116## nRF52810
109nrf52810 = ["nrf-pac/nrf52810", "_nrf52"] 117nrf52810 = ["nrf-pac/nrf52810", "_nrf52", "_spi-v1"]
110## nRF52811 118## nRF52811
111nrf52811 = ["nrf-pac/nrf52811", "_nrf52"] 119nrf52811 = ["nrf-pac/nrf52811", "_nrf52", "_spi-v1"]
112## nRF52820 120## nRF52820
113nrf52820 = ["nrf-pac/nrf52820", "_nrf52"] 121nrf52820 = ["nrf-pac/nrf52820", "_nrf52", "_spi-v1"]
114## nRF52832 122## nRF52832
115nrf52832 = ["nrf-pac/nrf52832", "_nrf52", "_nrf52832_anomaly_109"] 123nrf52832 = ["nrf-pac/nrf52832", "_nrf52", "_nrf52832_anomaly_109", "_spi-v1"]
116## nRF52833 124## nRF52833
117nrf52833 = ["nrf-pac/nrf52833", "_nrf52", "_gpio-p1"] 125nrf52833 = ["nrf-pac/nrf52833", "_nrf52", "_gpio-p1"]
118## nRF52840 126## nRF52840
@@ -127,6 +135,16 @@ nrf5340-net = ["_nrf5340-net"]
127nrf54l15-app-s = ["_nrf54l15-app", "_s", "_multi_wdt"] 135nrf54l15-app-s = ["_nrf54l15-app", "_s", "_multi_wdt"]
128## nRF54L15 application core in Non-Secure mode 136## nRF54L15 application core in Non-Secure mode
129nrf54l15-app-ns = ["_nrf54l15-app", "_ns"] 137nrf54l15-app-ns = ["_nrf54l15-app", "_ns"]
138## nRF54L10 application core in Secure mode
139nrf54l10-app-s = ["_nrf54l10-app", "_s", "_multi_wdt"]
140## nRF54L10 application core in Non-Secure mode
141nrf54l10-app-ns = ["_nrf54l10-app", "_ns"]
142## nRF54L05 application core in Secure mode
143nrf54l05-app-s = ["_nrf54l05-app", "_s", "_multi_wdt"]
144## nRF54L05 application core in Non-Secure mode
145nrf54l05-app-ns = ["_nrf54l05-app", "_ns"]
146## nRF54LM20 application core in Secure mode
147nrf54lm20-app-s = ["_nrf54lm20-app", "_s", "_multi_wdt"]
130 148
131## nRF9160 in Secure mode 149## nRF9160 in Secure mode
132nrf9160-s = ["_nrf9160", "_s", "_nrf91"] 150nrf9160-s = ["_nrf9160", "_s", "_nrf91"]
@@ -150,15 +168,21 @@ _nrf5340-net = ["_nrf5340", "nrf-pac/nrf5340-net"]
150_nrf5340 = ["_gpio-p1", "_dppi"] 168_nrf5340 = ["_gpio-p1", "_dppi"]
151_nrf54l15-app = ["_nrf54l15", "nrf-pac/nrf54l15-app"] 169_nrf54l15-app = ["_nrf54l15", "nrf-pac/nrf54l15-app"]
152_nrf54l15 = ["_nrf54l", "_gpio-p1", "_gpio-p2"] 170_nrf54l15 = ["_nrf54l", "_gpio-p1", "_gpio-p2"]
153_nrf54l = ["_dppi"] 171_nrf54l10-app = ["_nrf54l10", "nrf-pac/nrf54l10-app"]
154 172_nrf54l10 = ["_nrf54l", "_gpio-p1", "_gpio-p2"]
155_nrf9160 = ["nrf-pac/nrf9160", "_dppi"] 173_nrf54l05-app = ["_nrf54l05", "nrf-pac/nrf54l05-app"]
156_nrf9120 = ["nrf-pac/nrf9120", "_dppi"] 174_nrf54l05 = ["_nrf54l", "_gpio-p1", "_gpio-p2"]
175_nrf54lm20-app = ["_nrf54lm20", "nrf-pac/nrf54lm20a-app"]
176_nrf54lm20 = ["_nrf54l", "_gpio-p1", "_gpio-p2"]
177_nrf54l = ["_dppi", "_grtc"]
178
179_nrf9160 = ["nrf-pac/nrf9160", "_dppi", "_spi-v1"]
180_nrf9120 = ["nrf-pac/nrf9120", "_dppi", "_spi-v1"]
157_nrf52 = ["_ppi"] 181_nrf52 = ["_ppi"]
158_nrf51 = ["_ppi"] 182_nrf51 = ["_ppi", "_spi-v1"]
159_nrf91 = [] 183_nrf91 = []
160 184
161_time-driver = ["dep:embassy-time-driver", "embassy-time-driver?/tick-hz-32_768", "dep:embassy-time-queue-utils", "embassy-embedded-hal/time"] 185_time-driver = ["dep:embassy-time-driver", "dep:embassy-time-queue-utils", "embassy-embedded-hal/time"]
162 186
163_net-driver = ["dep:embassy-net-driver-channel","dep:embassy-futures"] 187_net-driver = ["dep:embassy-net-driver-channel","dep:embassy-futures"]
164 188
@@ -170,6 +194,8 @@ _ppi = []
170_dppi = [] 194_dppi = []
171_gpio-p1 = [] 195_gpio-p1 = []
172_gpio-p2 = [] 196_gpio-p2 = []
197_spi-v1 = []
198_grtc = []
173 199
174# Errata workarounds 200# Errata workarounds
175_nrf52832_anomaly_109 = [] 201_nrf52832_anomaly_109 = []
@@ -197,10 +223,10 @@ embedded-io-async = { version = "0.6.1" }
197rand-core-06 = { package = "rand_core", version = "0.6" } 223rand-core-06 = { package = "rand_core", version = "0.6" }
198rand-core-09 = { package = "rand_core", version = "0.9" } 224rand-core-09 = { package = "rand_core", version = "0.9" }
199 225
200nrf-pac = "0.1.0" 226nrf-pac = { version = "0.2.0" }
201 227
202defmt = { version = "1.0.1", optional = true } 228defmt = { version = "1.0.1", optional = true }
203bitflags = "2.4.2" 229bitflags = "2.10.0"
204log = { version = "0.4.14", optional = true } 230log = { version = "0.4.14", optional = true }
205cortex-m-rt = ">=0.6.15,<0.8" 231cortex-m-rt = ">=0.6.15,<0.8"
206cortex-m = "0.7.6" 232cortex-m = "0.7.6"