File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -494,10 +494,14 @@ dma!(
494
494
) ;
495
495
496
496
#[ cfg( any(
497
+ feature = "stm32f302xb" ,
498
+ feature = "stm32f302xc" ,
499
+ feature = "stm32f302xd" ,
500
+ feature = "stm32f302xe" ,
497
501
feature = "stm32f303xb" ,
498
502
feature = "stm32f303xc" ,
499
503
feature = "stm32f303xd" ,
500
- feature = "stm32f303xe"
504
+ feature = "stm32f303xe" ,
501
505
) ) ]
502
506
dma ! (
503
507
DMA2 , dma2, dma2en,
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ pub use crate::pac::interrupt;
116
116
pub mod adc;
117
117
#[ cfg( feature = "device-selected" ) ]
118
118
pub mod delay;
119
- #[ cfg( feature = "stm32f303" ) ]
119
+ #[ cfg( any ( feature = "stm32f303" , feature = "stm32f302" ) ) ]
120
120
pub mod dma;
121
121
#[ cfg( feature = "device-selected" ) ]
122
122
pub mod flash;
Original file line number Diff line number Diff line change 1
1
//! Prelude
2
2
3
- #[ cfg( feature = "stm32f303" ) ]
3
+ #[ cfg( any ( feature = "stm32f303" , feature = "stm32f302" ) ) ]
4
4
pub use crate :: dma:: DmaExt as _stm32f3xx_hal_dma_DmaExt;
5
5
pub use crate :: flash:: FlashExt as _stm32f3xx_hal_flash_FlashExt;
6
6
pub use crate :: gpio:: GpioExt as _stm32f3xx_hal_gpio_GpioExt;
You can’t perform that action at this time.
0 commit comments