impl. stm32f405

This commit is contained in:
xoviat 2021-03-04 17:27:46 -06:00
parent 9bcb0c36dc
commit 13f6c47a88

View file

@ -217,6 +217,7 @@ macro_rules! usart {
}
}
#[cfg(any(feature = "stm32f405",))]
dma! {
DMA2_STREAM0 => (DMA2, Stream0),
DMA2_STREAM1 => (DMA2, Stream1),
@ -235,6 +236,7 @@ dma! {
DMA1_STREAM6 => (DMA1, Stream6),
}
#[cfg(any(feature = "stm32f405",))]
usart! {
USART1 => (USART1),
USART2 => (USART2),