fix issues when DAC2 present, add additional options to DMA (NOT YET WORKING with STM32H7A3ZI)

This commit is contained in:
JuliDi
2023-06-26 09:42:25 +02:00
parent 8cafaa1f3c
commit e7bc84dda8
3 changed files with 178 additions and 119 deletions

View File

@ -699,8 +699,8 @@ fn main() {
// SDMMCv1 uses the same channel for both directions, so just implement for RX
(("sdmmc", "RX"), quote!(crate::sdmmc::SdmmcDma)),
(("quadspi", "QUADSPI"), quote!(crate::qspi::QuadDma)),
(("dac", "CH1"), quote!(crate::dac::Dma)),
(("dac", "CH2"), quote!(crate::dac::Dma)),
(("dac", "CH1"), quote!(crate::dac::DmaCh1)),
(("dac", "CH2"), quote!(crate::dac::DmaCh2)),
]
.into();