diff options
Diffstat (limited to 'embassy-nrf/Cargo.toml')
| -rw-r--r-- | embassy-nrf/Cargo.toml | 18 |
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 = [] | |||
| 80 | gpiote = [] | 80 | gpiote = [] |
| 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 | ## | 83 | time-driver-rtc1 = ["_time-driver", "embassy-time-driver?/tick-hz-32_768"] |
| 84 | ## Note: For nRF54L, it's actually RTC30 | 84 | |
| 85 | time-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 |
| 86 | time-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 |
| 88 | net-driver = ["_net-driver"] | 89 | net-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" } | |||
| 200 | rand-core-06 = { package = "rand_core", version = "0.6" } | 202 | rand-core-06 = { package = "rand_core", version = "0.6" } |
| 201 | rand-core-09 = { package = "rand_core", version = "0.9" } | 203 | rand-core-09 = { package = "rand_core", version = "0.9" } |
| 202 | 204 | ||
| 203 | nrf-pac = { version = "0.1.0", git = "https://github.com/embassy-rs/nrf-pac.git", rev = "58198c23bce72edc10b4e1656d1b54441fc74e7c" } | 205 | nrf-pac = { version = "0.1.0", git = "https://github.com/embassy-rs/nrf-pac.git", rev = "0068816c482932e3c59964817610ef41e79a6843" } |
| 204 | 206 | ||
| 205 | defmt = { version = "1.0.1", optional = true } | 207 | defmt = { version = "1.0.1", optional = true } |
| 206 | bitflags = "2.4.2" | 208 | bitflags = "2.4.2" |
