@@ -514,6 +514,7 @@ macro_rules! gpio {
514514 }
515515}
516516
517+ #[ cfg( any( feature = "stm32f401" , feature = "stm32f405" , feature = "stm32f407" , feature = "stm32f410" , feature = "stm32f411" , feature = "stm32f412" , feature = "stm32f413" , feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f423" , feature = "stm32f427" , feature = "stm32f429" , feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f446" , feature = "stm32f469" , feature = "stm32f479" ) ) ]
517518gpio ! ( GPIOA , gpioa, gpioaen, PA , [
518519 PA0 : ( pa0, 0 , Input <Floating >) ,
519520 PA1 : ( pa1, 1 , Input <Floating >) ,
@@ -533,6 +534,7 @@ gpio!(GPIOA, gpioa, gpioaen, PA, [
533534 PA15 : ( pa15, 15 , Input <Floating >) ,
534535] ) ;
535536
537+ #[ cfg( any( feature = "stm32f401" , feature = "stm32f405" , feature = "stm32f407" , feature = "stm32f410" , feature = "stm32f411" , feature = "stm32f412" , feature = "stm32f413" , feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f423" , feature = "stm32f427" , feature = "stm32f429" , feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f446" , feature = "stm32f469" , feature = "stm32f479" ) ) ]
536538gpio ! ( GPIOB , gpiob, gpioben, PB , [
537539 PB0 : ( pb0, 0 , Input <Floating >) ,
538540 PB1 : ( pb1, 1 , Input <Floating >) ,
@@ -552,6 +554,7 @@ gpio!(GPIOB, gpiob, gpioben, PB, [
552554 PB15 : ( pb15, 15 , Input <Floating >) ,
553555] ) ;
554556
557+ #[ cfg( any( feature = "stm32f401" , feature = "stm32f405" , feature = "stm32f407" , feature = "stm32f410" , feature = "stm32f411" , feature = "stm32f412" , feature = "stm32f413" , feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f423" , feature = "stm32f427" , feature = "stm32f429" , feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f446" , feature = "stm32f469" , feature = "stm32f479" ) ) ]
555558gpio ! ( GPIOC , gpioc, gpiocen, PC , [
556559 PC0 : ( pc0, 0 , Input <Floating >) ,
557560 PC1 : ( pc1, 1 , Input <Floating >) ,
@@ -571,6 +574,7 @@ gpio!(GPIOC, gpioc, gpiocen, PC, [
571574 PC15 : ( pc15, 15 , Input <Floating >) ,
572575] ) ;
573576
577+ #[ cfg( any( feature = "stm32f401" , feature = "stm32f405" , feature = "stm32f407" , feature = "stm32f411" , feature = "stm32f412" , feature = "stm32f413" , feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f423" , feature = "stm32f427" , feature = "stm32f429" , feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f446" , feature = "stm32f469" , feature = "stm32f479" ) ) ]
574578gpio ! ( GPIOD , gpiod, gpioden, PD , [
575579 PD0 : ( pd0, 0 , Input <Floating >) ,
576580 PD1 : ( pd1, 1 , Input <Floating >) ,
@@ -590,6 +594,7 @@ gpio!(GPIOD, gpiod, gpioden, PD, [
590594 PD15 : ( pd15, 15 , Input <Floating >) ,
591595] ) ;
592596
597+ #[ cfg( any( feature = "stm32f401" , feature = "stm32f405" , feature = "stm32f407" , feature = "stm32f411" , feature = "stm32f412" , feature = "stm32f413" , feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f423" , feature = "stm32f427" , feature = "stm32f429" , feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f446" , feature = "stm32f469" , feature = "stm32f479" ) ) ]
593598gpio ! ( GPIOE , gpioe, gpioeen, PE , [
594599 PE0 : ( pe0, 0 , Input <Floating >) ,
595600 PE1 : ( pe1, 1 , Input <Floating >) ,
@@ -609,7 +614,7 @@ gpio!(GPIOE, gpioe, gpioeen, PE, [
609614 PE15 : ( pe15, 15 , Input <Floating >) ,
610615] ) ;
611616
612- #[ cfg( any( feature = "stm32f407" , feature = "stm32f412" , feature = "stm32f429" ) ) ]
617+ #[ cfg( any( feature = "stm32f405" , feature = " stm32f407", feature = "stm32f412" , feature = "stm32f413" , feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f423" , feature = "stm32f427" , feature = " stm32f429" , feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f446" , feature = "stm32f469" , feature = "stm32f479 ") ) ]
613618gpio ! ( GPIOF , gpiof, gpiofen, PF , [
614619 PF0 : ( pf0, 0 , Input <Floating >) ,
615620 PF1 : ( pf1, 1 , Input <Floating >) ,
@@ -629,7 +634,7 @@ gpio!(GPIOF, gpiof, gpiofen, PF, [
629634 PF15 : ( pf15, 15 , Input <Floating >) ,
630635] ) ;
631636
632- #[ cfg( any( feature = "stm32f407" , feature = "stm32f412" , feature = "stm32f429" ) ) ]
637+ #[ cfg( any( feature = "stm32f405" , feature = " stm32f407", feature = "stm32f412" , feature = "stm32f413" , feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f423" , feature = "stm32f427" , feature = " stm32f429" , feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f446" , feature = "stm32f469" , feature = "stm32f479 ") ) ]
633638gpio ! ( GPIOG , gpiog, gpiogen, PG , [
634639 PG0 : ( pg0, 0 , Input <Floating >) ,
635640 PG1 : ( pg1, 1 , Input <Floating >) ,
@@ -649,7 +654,7 @@ gpio!(GPIOG, gpiog, gpiogen, PG, [
649654 PG15 : ( pg15, 15 , Input <Floating >) ,
650655] ) ;
651656
652- #[ cfg( any( feature = "stm32f407" , feature = "stm32f412" , feature = "stm32f429" , feature = "stm32f411 " ) ) ]
657+ #[ cfg( any( feature = "stm32f405" , feature = " stm32f407", feature = "stm32f410" , feature = "stm32f411" , feature = " stm32f412", feature = "stm32f413" , feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f423" , feature = "stm32f427" , feature = " stm32f429", feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f446" , feature = "stm32f469" , feature = "stm32f479 ") ) ]
653658gpio ! ( GPIOH , gpioh, gpiohen, PH , [
654659 PH0 : ( ph0, 0 , Input <Floating >) ,
655660 PH1 : ( ph1, 1 , Input <Floating >) ,
@@ -675,7 +680,7 @@ gpio!(GPIOH, gpioh, gpiohen, PH, [
675680 PH1 : ( ph1, 1 , Input <Floating >) ,
676681] ) ;
677682
678- #[ cfg( any( feature = "stm32f407" , feature = "stm32f429" ) ) ]
683+ #[ cfg( any( feature = "stm32f405" , feature = " stm32f407", feature = "stm32f415" , feature = "stm32f417" , feature = "stm32f427" , feature = " stm32f429" , feature = "stm32f437" , feature = "stm32f439" , feature = "stm32f469" , feature = "stm32f479 ") ) ]
679684gpio ! ( GPIOI , gpioi, gpioien, PI , [
680685 PI0 : ( pi0, 0 , Input <Floating >) ,
681686 PI1 : ( pi1, 1 , Input <Floating >) ,
0 commit comments