Ignore BDMA1 in H7
This commit is contained in:
parent
6a09ae7f92
commit
8f7bb570ae
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue