impl. stm32f405
This commit is contained in:
parent
9bcb0c36dc
commit
13f6c47a88
@ -217,6 +217,7 @@ macro_rules! usart {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "stm32f405",))]
|
||||||
dma! {
|
dma! {
|
||||||
DMA2_STREAM0 => (DMA2, Stream0),
|
DMA2_STREAM0 => (DMA2, Stream0),
|
||||||
DMA2_STREAM1 => (DMA2, Stream1),
|
DMA2_STREAM1 => (DMA2, Stream1),
|
||||||
@ -235,6 +236,7 @@ dma! {
|
|||||||
DMA1_STREAM6 => (DMA1, Stream6),
|
DMA1_STREAM6 => (DMA1, Stream6),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "stm32f405",))]
|
||||||
usart! {
|
usart! {
|
||||||
USART1 => (USART1),
|
USART1 => (USART1),
|
||||||
USART2 => (USART2),
|
USART2 => (USART2),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user