Make SPIv3 work with DMA.

Add both DMA and non-DMA example to H7.
This commit is contained in:
Bob McWhirter
2021-07-21 14:09:24 -04:00
parent 34dfe28d3a
commit a1dac21bdf
5 changed files with 318 additions and 11 deletions

View File

@ -1,7 +1,7 @@
#![macro_use]
#[cfg_attr(spi_v1, path = "v1.rs")]
#[cfg_attr(spi_v2, path = "v2.rs")]
//#[cfg_attr(spi_v1, path = "v1.rs")]
//#[cfg_attr(spi_v2, path = "v2.rs")]
#[cfg_attr(spi_v3, path = "v3.rs")]
mod _version;
use crate::{dma, peripherals, rcc::RccPeripheral};