Skip to content

Commit

Permalink
src/lib.rs: enable most modules for stm32l4+ devices as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jspngh committed Feb 27, 2022
1 parent 70f465b commit 9c789b9
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,22 +126,14 @@ pub mod adc;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
#[cfg(not(any(feature = "stm32l412",)))]
pub mod can;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod crc;
pub mod datetime;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod delay;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod dma;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod dmamux;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod flash;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod gpio;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod i2c;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod lptimer;
#[cfg(all(
feature = "otg_fs",
Expand All @@ -154,11 +146,8 @@ pub mod lptimer;
)
))]
pub mod otg_fs;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod prelude;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod pwm;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod pwr;
#[cfg(not(any(
feature = "stm32l433",
Expand All @@ -167,23 +156,14 @@ pub mod pwr;
feature = "stm32l4s9",
)))]
pub mod qspi;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod rcc;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod rng;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod rtc;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod serial;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod signature;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod spi;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod time;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod timer;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod tsc;
#[cfg(all(
feature = "stm32-usbd",
Expand All @@ -199,7 +179,6 @@ pub mod tsc;
)
))]
pub mod usb;
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
pub mod watchdog;

mod sealed {
Expand Down

0 comments on commit 9c789b9

Please sign in to comment.