aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/lib.rs
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2025-10-28 13:52:53 +0000
committerGitHub <[email protected]>2025-10-28 13:52:53 +0000
commitafe9defe31c79444d3bf8eca5e2f0d4161fd96f9 (patch)
treeac3273028c11098689a5d0f637d905974b35aa09 /embassy-nrf/src/lib.rs
parent41ff72bbce343c1e3c5efa2939e08a73b9122552 (diff)
parent83deef3672c651ac86e7ad497eccc52119b3a27f (diff)
Merge pull request #4793 from embassy-rs/nrf54-new-pac
feat: improve nrf54 support using new nrf-pac
Diffstat (limited to 'embassy-nrf/src/lib.rs')
-rw-r--r--embassy-nrf/src/lib.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs
index 705c77453..2f7505746 100644
--- a/embassy-nrf/src/lib.rs
+++ b/embassy-nrf/src/lib.rs
@@ -76,14 +76,12 @@ pub(crate) mod util;
76#[cfg(feature = "_time-driver")] 76#[cfg(feature = "_time-driver")]
77mod time_driver; 77mod time_driver;
78 78
79#[cfg(not(feature = "_nrf54l"))] // TODO
80#[cfg(not(feature = "_nrf51"))] 79#[cfg(not(feature = "_nrf51"))]
81pub mod buffered_uarte; 80pub mod buffered_uarte;
82#[cfg(not(feature = "_nrf54l"))] // TODO 81#[cfg(not(feature = "_nrf54l"))] // TODO
83#[cfg(not(feature = "_nrf51"))] 82#[cfg(not(feature = "_nrf51"))]
84pub mod egu; 83pub mod egu;
85pub mod gpio; 84pub mod gpio;
86#[cfg(not(feature = "_nrf54l"))] // TODO
87#[cfg(feature = "gpiote")] 85#[cfg(feature = "gpiote")]
88pub mod gpiote; 86pub mod gpiote;
89#[cfg(not(feature = "_nrf54l"))] // TODO 87#[cfg(not(feature = "_nrf54l"))] // TODO
@@ -119,9 +117,7 @@ pub mod pdm;
119#[cfg(not(feature = "_nrf54l"))] // TODO 117#[cfg(not(feature = "_nrf54l"))] // TODO
120#[cfg(any(feature = "nrf52840", feature = "nrf9160-s", feature = "nrf9160-ns"))] 118#[cfg(any(feature = "nrf52840", feature = "nrf9160-s", feature = "nrf9160-ns"))]
121pub mod power; 119pub mod power;
122#[cfg(not(feature = "_nrf54l"))] // TODO
123pub mod ppi; 120pub mod ppi;
124#[cfg(not(feature = "_nrf54l"))] // TODO
125#[cfg(not(any( 121#[cfg(not(any(
126 feature = "_nrf51", 122 feature = "_nrf51",
127 feature = "nrf52805", 123 feature = "nrf52805",
@@ -156,26 +152,19 @@ pub mod reset;
156#[cfg(not(any(feature = "_nrf5340-app", feature = "_nrf91")))] 152#[cfg(not(any(feature = "_nrf5340-app", feature = "_nrf91")))]
157pub mod rng; 153pub mod rng;
158pub mod rtc; 154pub mod rtc;
159#[cfg(not(feature = "_nrf54l"))] // TODO
160#[cfg(not(any(feature = "_nrf51", feature = "nrf52820", feature = "_nrf5340-net")))] 155#[cfg(not(any(feature = "_nrf51", feature = "nrf52820", feature = "_nrf5340-net")))]
161pub mod saadc; 156pub mod saadc;
162#[cfg(not(feature = "_nrf54l"))] // TODO
163#[cfg(not(feature = "_nrf51"))] 157#[cfg(not(feature = "_nrf51"))]
164pub mod spim; 158pub mod spim;
165#[cfg(not(feature = "_nrf54l"))] // TODO
166#[cfg(not(feature = "_nrf51"))] 159#[cfg(not(feature = "_nrf51"))]
167pub mod spis; 160pub mod spis;
168#[cfg(not(any(feature = "_nrf5340-app", feature = "_nrf91")))] 161#[cfg(not(any(feature = "_nrf5340-app", feature = "_nrf91")))]
169pub mod temp; 162pub mod temp;
170#[cfg(not(feature = "_nrf54l"))] // TODO
171pub mod timer; 163pub mod timer;
172#[cfg(not(feature = "_nrf54l"))] // TODO
173#[cfg(not(feature = "_nrf51"))] 164#[cfg(not(feature = "_nrf51"))]
174pub mod twim; 165pub mod twim;
175#[cfg(not(feature = "_nrf54l"))] // TODO
176#[cfg(not(feature = "_nrf51"))] 166#[cfg(not(feature = "_nrf51"))]
177pub mod twis; 167pub mod twis;
178#[cfg(not(feature = "_nrf54l"))] // TODO
179#[cfg(not(feature = "_nrf51"))] 168#[cfg(not(feature = "_nrf51"))]
180pub mod uarte; 169pub mod uarte;
181#[cfg(not(feature = "_nrf54l"))] // TODO 170#[cfg(not(feature = "_nrf54l"))] // TODO
@@ -1153,7 +1142,6 @@ pub fn init(config: config::Config) -> Peripherals {
1153 } 1142 }
1154 1143
1155 // Init GPIOTE 1144 // Init GPIOTE
1156 #[cfg(not(feature = "_nrf54l"))] // TODO
1157 #[cfg(feature = "gpiote")] 1145 #[cfg(feature = "gpiote")]
1158 gpiote::init(config.gpiote_interrupt_priority); 1146 gpiote::init(config.gpiote_interrupt_priority);
1159 1147