summaryrefslogtreecommitdiff
path: root/chip/stm32/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/config_chip.h')
-rw-r--r--chip/stm32/config_chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/stm32/config_chip.h b/chip/stm32/config_chip.h
index f77fdf059e..87ebd21c09 100644
--- a/chip/stm32/config_chip.h
+++ b/chip/stm32/config_chip.h
@@ -96,6 +96,9 @@
/* Use DMA */
#define CONFIG_DMA
+/* Number of peripheral request signals per DMA channel */
+#define STM32_DMA_PERIPHERALS_PER_CHANNEL 4
+
/*
* Use DMA for UART transmit for all platforms. DMA for UART receive is
* enabled on a per-chip basis because it doesn't seem to work reliably on