@@ -385,7 +385,7 @@ address!((pac::SPI5, dr, u8),);
385
385
dma_map ! (
386
386
( Stream4 <DMA2 >: 4 , pac:: SPI4 , [ PeripheralToMemory ] ) , //SPI4_RX
387
387
) ;
388
-
388
+ /*
389
389
#[cfg(feature = "dfsdm1")]
390
390
mod dfsdm1 {
391
391
use super::*;
@@ -402,7 +402,7 @@ mod dfsdm1 {
402
402
(Stream6<DMA2>:3, FLT<DFSDM1, 0>, [PeripheralToMemory]), //DFSDM1_FLT0:DMA_CHANNEL_3
403
403
);
404
404
405
- unsafe impl < const F : u8 > PeriAddress for CCR < DFSDM1 , F > {
405
+ unsafe impl<const F: u8> PeriAddress for FLT <DFSDM1, F> {
406
406
#[inline(always)]
407
407
fn address(&self) -> u32 {
408
408
unsafe { &(*DFSDM1::ptr()).flt[F as usize].rdatar as *const _ as u32 }
@@ -424,15 +424,15 @@ dma_map!(
424
424
(Stream7<DMA2>:8, FLT<pac::DFSDM2, 3>, [PeripheralToMemory]), //DFSDM2_FLT3
425
425
);
426
426
#[cfg(feature = "dfsdm2")]
427
- unsafe impl < const F : u8 > PeriAddress for CCR < pac:: DFSDM2 , F > {
427
+ unsafe impl<const F: u8> PeriAddress for FLT <pac::DFSDM2, F> {
428
428
#[inline(always)]
429
429
fn address(&self) -> u32 {
430
430
unsafe { &(*DFSDM2::ptr()).flt[F as usize].rdatar as *const _ as u32 }
431
431
}
432
432
433
433
type MemSize = u32;
434
434
}
435
-
435
+ */
436
436
#[ cfg( any(
437
437
feature = "gpio-f412" ,
438
438
feature = "gpio-f413" ,
@@ -486,9 +486,9 @@ address!(
486
486
#[ cfg( feature = "sai1" ) ]
487
487
mod sai1 {
488
488
use super :: * ;
489
- #[ cfg( not( feature = "gpio-f446" ) ) ]
489
+ #[ cfg( not( any ( feature = "gpio-f446" , feature= "gpio-f417" , feature= "svd-f427" ) ) ) ]
490
490
use pac:: SAI as SAI1 ;
491
- #[ cfg( feature = "gpio-f446" ) ]
491
+ #[ cfg( any ( feature = "gpio-f446" , feature= "gpio-f417" , feature= "svd-f427" ) ) ]
492
492
use pac:: SAI1 ;
493
493
494
494
dma_map ! (
0 commit comments