diff options
| author | Grant Miller <[email protected]> | 2022-03-08 16:46:42 -0600 |
|---|---|---|
| committer | Grant Miller <[email protected]> | 2022-03-08 16:46:42 -0600 |
| commit | 8f7bb570ae5cfe6cbe437c0d276d9cfe5cc91fd6 (patch) | |
| tree | dcdc5fd7d6c19e17dfd4dbd6eadc17db97c82d67 | |
| parent | 6a09ae7f920344bf2797302f33ccd7aa8ee94d5f (diff) | |
Ignore BDMA1 in H7
| -rw-r--r-- | embassy-stm32/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs index 0db5e7e2a..8b64aaaac 100644 --- a/embassy-stm32/build.rs +++ b/embassy-stm32/build.rs | |||
| @@ -110,6 +110,10 @@ fn main() { | |||
| 110 | for p in METADATA.peripherals { | 110 | for p in METADATA.peripherals { |
| 111 | if let Some(r) = &p.registers { | 111 | if let Some(r) = &p.registers { |
| 112 | if r.kind == "dma" || r.kind == "bdma" { | 112 | if r.kind == "dma" || r.kind == "bdma" { |
| 113 | if p.name == "BDMA1" { | ||
| 114 | // BDMA1 in H7 doesn't use DMAMUX, which breaks | ||
| 115 | continue; | ||
| 116 | } | ||
| 113 | for irq in p.interrupts { | 117 | for irq in p.interrupts { |
| 114 | dma_irqs | 118 | dma_irqs |
| 115 | .entry(irq.interrupt) | 119 | .entry(irq.interrupt) |
