Try to figure out h7cm's problem.
This commit is contained in:
parent
6552af8f0b
commit
696a3b8552
1 changed files with 9 additions and 0 deletions
|
@ -329,6 +329,15 @@ pac::peripherals! {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
// Because H7cm changes the naming
|
||||||
|
(bdma, BDMA) => {
|
||||||
|
impl_dma!(BDMA, 0);
|
||||||
|
pac::dma_channels! {
|
||||||
|
($channel_peri:ident, DMA1, $channel_num:expr) => {
|
||||||
|
impl_dma_channel!($channel_peri, BDMA, 0, $channel_num);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
pac::interrupts! {
|
pac::interrupts! {
|
||||||
|
|
Loading…
Reference in a new issue