We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6f74cc commit 5f874feCopy full SHA for 5f874fe
src/serial.rs
@@ -869,13 +869,18 @@ macro_rules! usart_var_clock {
869
}
870
871
cfg_if::cfg_if! {
872
- if #[cfg(all(
873
- any(
874
- feature = "mem-4",
875
- feature = "mem-6",
876
- feature = "mem-8",
877
- ),
878
- not(feature = "svd-f373")
+ if #[cfg(any(
+ feature = "stm32f301x6",
+ feature = "stm32f301x8",
+ feature = "stm32f318x8",
+ feature = "stm32f302x6",
+ feature = "stm32f302x8",
+ feature = "stm32f303x6",
879
+ feature = "stm32f303x8",
880
+ feature = "stm32f328x8",
881
+ feature = "stm32f334x4",
882
+ feature = "stm32f334x6",
883
+ feature = "stm32f334x8",
884
))] {
885
// USART1 is accessed through APB2,
886
// but USART1SW_A::PCLK will connect its phy to PCLK1.
0 commit comments