@@ -574,6 +574,7 @@ gpio!(GPIOC, gpioc, iopcen, PC, [
574574 feature = "stm32f070" ,
575575 feature = "stm32f071" ,
576576 feature = "stm32f072" ,
577+ feature = "stm32f078" ,
577578 feature = "stm32f091" ,
578579) ) ]
579580gpio ! ( GPIOC , gpioc, iopcen, PC , [
@@ -604,7 +605,12 @@ gpio!(GPIOC, gpioc, iopcen, PC, [
604605gpio ! ( GPIOD , gpiod, iopden, PD , [
605606 PD2 : ( pd2, 2 , Input <Floating >) ,
606607] ) ;
607- #[ cfg( any( feature = "stm32f071" , feature = "stm32f072" , feature = "stm32f091" ) ) ]
608+ #[ cfg( any(
609+ feature = "stm32f071" ,
610+ feature = "stm32f072" ,
611+ feature = "stm32f078" ,
612+ feature = "stm32f091"
613+ ) ) ]
608614gpio ! ( GPIOD , gpiod, iopden, PD , [
609615 PD0 : ( pd0, 0 , Input <Floating >) ,
610616 PD1 : ( pd1, 1 , Input <Floating >) ,
@@ -627,7 +633,12 @@ gpio!(GPIOD, gpiod, iopden, PD, [
627633// TODO: The ST SVD files are missing the entire PE enable register.
628634// Re-enable as soon as this gets fixed.
629635
630- // #[cfg(any(feature = "stm32f071", feature = "stm32f072", feature = "stm32f091"))]
636+ // #[cfg(any(
637+ // feature = "stm32f071",
638+ // feature = "stm32f072",
639+ // feature = "stm32f078",
640+ // feature = "stm32f091",
641+ // ))]
631642// gpio!(GPIOE, gpioe, iopeen, PE, [
632643// PE0: (pe0, 0, Input<Floating>),
633644// PE1: (pe1, 1, Input<Floating>),
@@ -684,7 +695,12 @@ gpio!(GPIOF, gpiof, iopfen, PF, [
684695 PF1 : ( pf1, 1 , Input <Floating >) ,
685696] ) ;
686697
687- #[ cfg( any( feature = "stm32f071" , feature = "stm32f072" , feature = "stm32f091" ) ) ]
698+ #[ cfg( any(
699+ feature = "stm32f071" ,
700+ feature = "stm32f072" ,
701+ feature = "stm32f078" ,
702+ feature = "stm32f091" ,
703+ ) ) ]
688704gpio ! ( GPIOF , gpiof, iopfen, PF , [
689705 PF0 : ( pf0, 0 , Input <Floating >) ,
690706 PF1 : ( pf1, 1 , Input <Floating >) ,
0 commit comments