aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/Cargo.toml
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2025-10-14 13:23:50 +0200
committerUlf Lilleengen <[email protected]>2025-10-28 10:40:43 +0100
commitde5760cc81a00966c61d668c41f6e3e4709f0283 (patch)
tree147a96fe4ae1e11b0eeef8ef61c84baaeb490255 /embassy-nrf/Cargo.toml
parent5f0085fd89f3912de970d3496d481e537dc57422 (diff)
feat: improve nrf54 support using new nrf-pac
* Update nrf-pac to version that modifies nrf52 register layout to match nrf54 to reduce the amount of cfg needed for nrf54 support. * Make the following peripherals available on nrf54: twim, twis, spim, spis, uart, buffered uarte, dppi, gpiote, pwm, saadc * Add examples tested on the nrf54 dk Some code is based on or copied from other pull requests, modified to match the new nrf-pac layout. Co-authored-by: Dmitry Tarnyagin <[email protected]>
Diffstat (limited to 'embassy-nrf/Cargo.toml')
-rw-r--r--embassy-nrf/Cargo.toml21
1 files changed, 11 insertions, 10 deletions
diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml
index 28f137d5c..08f4b280b 100644
--- a/embassy-nrf/Cargo.toml
+++ b/embassy-nrf/Cargo.toml
@@ -104,17 +104,17 @@ qspi-multiwrite-flash = []
104 104
105#! ### Chip selection features 105#! ### Chip selection features
106## nRF51 106## nRF51
107nrf51 = ["nrf-pac/nrf51", "_nrf51"] 107nrf51 = ["nrf-pac/nrf51", "_nrf51", "_spi-v1"]
108## nRF52805 108## nRF52805
109nrf52805 = ["nrf-pac/nrf52805", "_nrf52"] 109nrf52805 = ["nrf-pac/nrf52805", "_nrf52", "_spi-v1"]
110## nRF52810 110## nRF52810
111nrf52810 = ["nrf-pac/nrf52810", "_nrf52"] 111nrf52810 = ["nrf-pac/nrf52810", "_nrf52", "_spi-v1"]
112## nRF52811 112## nRF52811
113nrf52811 = ["nrf-pac/nrf52811", "_nrf52"] 113nrf52811 = ["nrf-pac/nrf52811", "_nrf52", "_spi-v1"]
114## nRF52820 114## nRF52820
115nrf52820 = ["nrf-pac/nrf52820", "_nrf52"] 115nrf52820 = ["nrf-pac/nrf52820", "_nrf52", "_spi-v1"]
116## nRF52832 116## nRF52832
117nrf52832 = ["nrf-pac/nrf52832", "_nrf52", "_nrf52832_anomaly_109"] 117nrf52832 = ["nrf-pac/nrf52832", "_nrf52", "_nrf52832_anomaly_109", "_spi-v1"]
118## nRF52833 118## nRF52833
119nrf52833 = ["nrf-pac/nrf52833", "_nrf52", "_gpio-p1"] 119nrf52833 = ["nrf-pac/nrf52833", "_nrf52", "_gpio-p1"]
120## nRF52840 120## nRF52840
@@ -154,10 +154,10 @@ _nrf54l15-app = ["_nrf54l15", "nrf-pac/nrf54l15-app"]
154_nrf54l15 = ["_nrf54l", "_gpio-p1", "_gpio-p2"] 154_nrf54l15 = ["_nrf54l", "_gpio-p1", "_gpio-p2"]
155_nrf54l = ["_dppi"] 155_nrf54l = ["_dppi"]
156 156
157_nrf9160 = ["nrf-pac/nrf9160", "_dppi"] 157_nrf9160 = ["nrf-pac/nrf9160", "_dppi", "_spi-v1"]
158_nrf9120 = ["nrf-pac/nrf9120", "_dppi"] 158_nrf9120 = ["nrf-pac/nrf9120", "_dppi", "_spi-v1"]
159_nrf52 = ["_ppi"] 159_nrf52 = ["_ppi"]
160_nrf51 = ["_ppi"] 160_nrf51 = ["_ppi", "_spi-v1"]
161_nrf91 = [] 161_nrf91 = []
162 162
163_time-driver = ["dep:embassy-time-driver", "embassy-time-driver?/tick-hz-32_768", "dep:embassy-time-queue-utils", "embassy-embedded-hal/time"] 163_time-driver = ["dep:embassy-time-driver", "embassy-time-driver?/tick-hz-32_768", "dep:embassy-time-queue-utils", "embassy-embedded-hal/time"]
@@ -172,6 +172,7 @@ _ppi = []
172_dppi = [] 172_dppi = []
173_gpio-p1 = [] 173_gpio-p1 = []
174_gpio-p2 = [] 174_gpio-p2 = []
175_spi-v1 = []
175 176
176# Errata workarounds 177# Errata workarounds
177_nrf52832_anomaly_109 = [] 178_nrf52832_anomaly_109 = []
@@ -199,7 +200,7 @@ embedded-io-async = { version = "0.6.1" }
199rand-core-06 = { package = "rand_core", version = "0.6" } 200rand-core-06 = { package = "rand_core", version = "0.6" }
200rand-core-09 = { package = "rand_core", version = "0.9" } 201rand-core-09 = { package = "rand_core", version = "0.9" }
201 202
202nrf-pac = "0.1.0" 203nrf-pac = { version = "0.1.0", git = "https://github.com/embassy-rs/nrf-pac.git", rev = "58198c23bce72edc10b4e1656d1b54441fc74e7c" }
203 204
204defmt = { version = "1.0.1", optional = true } 205defmt = { version = "1.0.1", optional = true }
205bitflags = "2.4.2" 206bitflags = "2.4.2"