Skip to content

Commit b70e500

Browse files
committed
fixup some of the gating
1 parent c9c5a98 commit b70e500

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ required-features = ["rt"]
142142

143143
[[example]]
144144
name = "can-loopback"
145-
required-features = ["rt", "stm32l431"]
145+
required-features = ["rt"]
146146

147147
[[example]]
148148
name = "irq_button"
149149
required-features = ["rt"]
150150

151151
[[example]]
152152
name = "qspi"
153-
required-features = ["rt", "stm32l476"]
153+
required-features = ["rt", "stm32l476"] # L433/43 have no QSPI peripheral and are highly likely to be used
154154

155155
[[example]]
156156
name = "rng"

src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,7 @@ pub mod traits;
9393

9494
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
9595
pub mod adc;
96-
#[cfg(any(
97-
feature = "stm32l431",
98-
feature = "stm32l451",
99-
feature = "stm32l471",
100-
feature = "stm32l475"
101-
))]
96+
#[cfg(not(any(feature = "stm32l412",)))]
10297
pub mod can;
10398
#[cfg(not(any(feature = "stm32l4r9", feature = "stm32l4s9",)))]
10499
pub mod crc;

0 commit comments

Comments
 (0)