@@ -449,38 +449,14 @@ mod interrupts {
449
449
}
450
450
}
451
451
452
- #[ cfg( any(
453
- feature = "stm32f303x6" ,
454
- feature = "stm32f303x8" ,
455
- feature = "stm32f328" ,
456
- feature = "stm32f334" ,
457
- ) ) ]
452
+ #[ cfg( feature = "gpio-f333" ) ]
458
453
spi ! ( [ ( 1 , 2 ) ] ) ;
459
454
460
- #[ cfg( any(
461
- feature = "stm32f301" ,
462
- feature = "stm32f302x6" ,
463
- feature = "stm32f302x8" ,
464
- feature = "stm32f318" ,
465
- ) ) ]
455
+ #[ cfg( feature = "gpio-f302" ) ]
466
456
spi ! ( [ ( 2 , 1 ) , ( 3 , 1 ) ] ) ;
467
457
468
- #[ cfg( any(
469
- feature = "stm32f302xb" ,
470
- feature = "stm32f302xc" ,
471
- feature = "stm32f303xb" ,
472
- feature = "stm32f303xc" ,
473
- feature = "stm32f358" ,
474
- feature = "stm32f373" ,
475
- feature = "stm32f378" ,
476
- ) ) ]
458
+ #[ cfg( any( feature = "gpio-f303" , feature = "gpio-f373" , ) ) ]
477
459
spi ! ( [ ( 1 , 2 ) , ( 2 , 1 ) , ( 3 , 1 ) ] ) ;
478
460
479
- #[ cfg( any(
480
- feature = "stm32f302xd" ,
481
- feature = "stm32f302xe" ,
482
- feature = "stm32f303xd" ,
483
- feature = "stm32f303xe" ,
484
- feature = "stm32f398" ,
485
- ) ) ]
461
+ #[ cfg( feature = "gpio-f303e" ) ]
486
462
spi ! ( [ ( 1 , 2 ) , ( 2 , 1 ) , ( 3 , 1 ) , ( 4 , 2 ) ] ) ;
0 commit comments