Ignore BDMA1 in H7

This commit is contained in:
Grant Miller 2022-03-08 16:46:42 -06:00
parent 6a09ae7f92
commit 8f7bb570ae

View File

@ -110,6 +110,10 @@ fn main() {
for p in METADATA.peripherals { for p in METADATA.peripherals {
if let Some(r) = &p.registers { if let Some(r) = &p.registers {
if r.kind == "dma" || r.kind == "bdma" { if r.kind == "dma" || r.kind == "bdma" {
if p.name == "BDMA1" {
// BDMA1 in H7 doesn't use DMAMUX, which breaks
continue;
}
for irq in p.interrupts { for irq in p.interrupts {
dma_irqs dma_irqs
.entry(irq.interrupt) .entry(irq.interrupt)