diff options
| author | Caleb Jamison <[email protected]> | 2024-08-09 12:31:29 -0400 |
|---|---|---|
| committer | Caleb Jamison <[email protected]> | 2024-08-09 12:31:29 -0400 |
| commit | e5d8d8b18e80244275458c38b3dc13a5b9d72a9f (patch) | |
| tree | a8fa9eb709ccc8ba8488c6568f94475643693567 /embassy-rp/src/lib.rs | |
| parent | 6a797deb7200447c20bdd4bddcf79f32affe210b (diff) | |
Switch to single pac
Diffstat (limited to 'embassy-rp/src/lib.rs')
| -rw-r--r-- | embassy-rp/src/lib.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/embassy-rp/src/lib.rs b/embassy-rp/src/lib.rs index ff9c0803d..a0c6538d2 100644 --- a/embassy-rp/src/lib.rs +++ b/embassy-rp/src/lib.rs | |||
| @@ -46,13 +46,10 @@ pub(crate) mod relocate; | |||
| 46 | 46 | ||
| 47 | // Reexports | 47 | // Reexports |
| 48 | pub use embassy_hal_internal::{into_ref, Peripheral, PeripheralRef}; | 48 | pub use embassy_hal_internal::{into_ref, Peripheral, PeripheralRef}; |
| 49 | #[cfg(all(feature = "unstable-pac", feature = "rp235x"))] | 49 | |
| 50 | pub use rp23_pac as pac; | 50 | #[cfg(feature = "unstable-pac")] |
| 51 | #[cfg(all(not(feature = "unstable-pac"), feature = "rp235x"))] | ||
| 52 | pub(crate) use rp23_pac as pac; | ||
| 53 | #[cfg(all(feature = "unstable-pac", feature = "rp2040"))] | ||
| 54 | pub use rp_pac as pac; | 51 | pub use rp_pac as pac; |
| 55 | #[cfg(all(not(feature = "unstable-pac"), feature = "rp2040"))] | 52 | #[cfg(not(feature = "unstable-pac"))] |
| 56 | pub(crate) use rp_pac as pac; | 53 | pub(crate) use rp_pac as pac; |
| 57 | 54 | ||
| 58 | #[cfg(feature = "rt")] | 55 | #[cfg(feature = "rt")] |
