diff options
Diffstat (limited to 'embassy-nxp/src/lib.rs')
| -rw-r--r-- | embassy-nxp/src/lib.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embassy-nxp/src/lib.rs b/embassy-nxp/src/lib.rs index 3fcb14b7e..74142a10b 100644 --- a/embassy-nxp/src/lib.rs +++ b/embassy-nxp/src/lib.rs | |||
| @@ -4,9 +4,9 @@ | |||
| 4 | pub(crate) mod fmt; | 4 | pub(crate) mod fmt; |
| 5 | 5 | ||
| 6 | pub mod gpio; | 6 | pub mod gpio; |
| 7 | #[cfg(feature = "lpc55")] | 7 | #[cfg(feature = "lpc55-core0")] |
| 8 | pub mod pint; | 8 | pub mod pint; |
| 9 | #[cfg(feature = "lpc55")] | 9 | #[cfg(feature = "lpc55-core0")] |
| 10 | pub mod usart; | 10 | pub mod usart; |
| 11 | 11 | ||
| 12 | #[cfg(feature = "_time_driver")] | 12 | #[cfg(feature = "_time_driver")] |
| @@ -15,7 +15,7 @@ pub mod usart; | |||
| 15 | mod time_driver; | 15 | mod time_driver; |
| 16 | 16 | ||
| 17 | // This mod MUST go last, so that it sees all the `impl_foo!` macros | 17 | // This mod MUST go last, so that it sees all the `impl_foo!` macros |
| 18 | #[cfg_attr(feature = "lpc55", path = "chips/lpc55.rs")] | 18 | #[cfg_attr(feature = "lpc55-core0", path = "chips/lpc55.rs")] |
| 19 | #[cfg_attr(feature = "mimxrt1011", path = "chips/mimxrt1011.rs")] | 19 | #[cfg_attr(feature = "mimxrt1011", path = "chips/mimxrt1011.rs")] |
| 20 | #[cfg_attr(feature = "mimxrt1062", path = "chips/mimxrt1062.rs")] | 20 | #[cfg_attr(feature = "mimxrt1062", path = "chips/mimxrt1062.rs")] |
| 21 | mod chip; | 21 | mod chip; |
| @@ -83,10 +83,10 @@ pub fn init(_config: config::Config) -> Peripherals { | |||
| 83 | pac::CCM.ccgr6().modify(|v| v.set_cg0(1)); | 83 | pac::CCM.ccgr6().modify(|v| v.set_cg0(1)); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | #[cfg(any(feature = "lpc55", rt1xxx))] | 86 | #[cfg(any(feature = "lpc55-core0", rt1xxx))] |
| 87 | gpio::init(); | 87 | gpio::init(); |
| 88 | 88 | ||
| 89 | #[cfg(feature = "lpc55")] | 89 | #[cfg(feature = "lpc55-core0")] |
| 90 | pint::init(); | 90 | pint::init(); |
| 91 | 91 | ||
| 92 | #[cfg(feature = "_time_driver")] | 92 | #[cfg(feature = "_time_driver")] |
