diff options
| author | Alexandros Liarokapis <[email protected]> | 2024-08-17 00:26:33 +0300 |
|---|---|---|
| committer | Alexandros Liarokapis <[email protected]> | 2024-08-17 16:54:41 +0300 |
| commit | 2b7e76efe9916170cba69da964d53c19a246ae45 (patch) | |
| tree | 10f1b8973e80af44dd81a65aad4f1e7456a3ca30 /embassy-stm32/src/rcc/wba.rs | |
| parent | 6d9ed4c0807c977aa6d3c852360d52128f8c459a (diff) | |
Fix dma nvic issues on dual core lines
This commit addresses #3256 by disabling dma NVIC interrupt enablement at startup.
Instead, per-channel NVIC interrupt enablement is now done with the rest of the dma channel configuration.
This ensures that each core will only handle the interrupts of the DMA channels that it uses.
Diffstat (limited to 'embassy-stm32/src/rcc/wba.rs')
| -rw-r--r-- | embassy-stm32/src/rcc/wba.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/rcc/wba.rs b/embassy-stm32/src/rcc/wba.rs index 8e1779d7c..1fee648d4 100644 --- a/embassy-stm32/src/rcc/wba.rs +++ b/embassy-stm32/src/rcc/wba.rs | |||
| @@ -15,6 +15,7 @@ pub struct Hse { | |||
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | /// Clocks configuration | 17 | /// Clocks configuration |
| 18 | #[derive(Clone, Copy)] | ||
| 18 | pub struct Config { | 19 | pub struct Config { |
| 19 | // base clock sources | 20 | // base clock sources |
| 20 | pub hsi: bool, | 21 | pub hsi: bool, |
