summaryrefslogtreecommitdiff
path: root/chip/stm32/config-stm32l15x.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/config-stm32l15x.h')
-rw-r--r--chip/stm32/config-stm32l15x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/stm32/config-stm32l15x.h b/chip/stm32/config-stm32l15x.h
index 7d51ca1bda..6e9b862dab 100644
--- a/chip/stm32/config-stm32l15x.h
+++ b/chip/stm32/config-stm32l15x.h
@@ -50,5 +50,8 @@
#undef CONFIG_UART_TX_BUF_SIZE
#define CONFIG_UART_TX_BUF_SIZE 2048
+/* Use DMA for UART receive */
+#define CONFIG_UART_RX_DMA
+
/* Flash erases to 0, not 1 */
#define CONFIG_FLASH_ERASED_VALUE32 0