@@ -14,10 +14,10 @@ use crate::state;
14
14
use crate :: time:: U32Ext ;
15
15
use nb:: block;
16
16
17
- #[ cfg( any( feature = "stm32f745" , feature = "stm32f746 ", ) ) ]
17
+ #[ cfg( any( feature = "device-selected " , ) ) ]
18
18
use crate :: stm32:: { RCC , USART1 , USART2 , UART4 , USART3 , USART6 , UART7 } ;
19
19
20
- #[ cfg( any( feature = "stm32f745" , feature = "stm32f746 ", ) ) ]
20
+ #[ cfg( any( feature = "device-selected " , ) ) ]
21
21
use crate :: gpio:: {
22
22
gpioa:: { PA0 , PA1 , PA10 , PA2 , PA3 , PA9 } ,
23
23
gpiob:: { PB10 , PB11 , PB6 , PB7 } ,
58
58
{
59
59
}
60
60
61
- #[ cfg( any( feature = "stm32f745" , feature = "stm32f746 ", ) ) ]
61
+ #[ cfg( any( feature = "device-selected " , ) ) ]
62
62
impl PinTx < USART1 > for PA9 < Alternate < AF7 > > { }
63
63
impl PinTx < USART1 > for PB6 < Alternate < AF7 > > { }
64
64
impl PinTx < USART2 > for PA2 < Alternate < AF7 > > { }
@@ -73,7 +73,7 @@ impl PinTx<USART6> for PG14<Alternate<AF8>> {}
73
73
impl PinTx < UART7 > for PE8 < Alternate < AF8 > > { }
74
74
impl PinTx < UART7 > for PF7 < Alternate < AF8 > > { }
75
75
76
- #[ cfg( any( feature = "stm32f745" , feature = "stm32f746 ", ) ) ]
76
+ #[ cfg( any( feature = "device-selected " , ) ) ]
77
77
impl PinRx < USART1 > for PA10 < Alternate < AF7 > > { }
78
78
impl PinRx < USART1 > for PB7 < Alternate < AF7 > > { }
79
79
impl PinRx < USART2 > for PA3 < Alternate < AF7 > > { }
0 commit comments