[PATCH 3/4] Additional define for stmh32xx_hal_uart.h

Robin.Mueller robin.mueller.m at gmail.com
Mon Apr 12 09:56:06 UTC 2021


The DMA include was missing and could lead to compilation
errors for certain cases.
---
 bsps/arm/stm32h7/include/stm32h7xx_hal_uart.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bsps/arm/stm32h7/include/stm32h7xx_hal_uart.h b/bsps/arm/stm32h7/include/stm32h7xx_hal_uart.h
index e9fecc4aa0..b171f7dac7 100644
--- a/bsps/arm/stm32h7/include/stm32h7xx_hal_uart.h
+++ b/bsps/arm/stm32h7/include/stm32h7xx_hal_uart.h
@@ -27,6 +27,7 @@ extern "C" {
 
 /* Includes ------------------------------------------------------------------*/
 #include "stm32h7xx_hal_def.h"
+#include "stm32h7xx_hal_dma.h"
 
 /** @addtogroup STM32H7xx_HAL_Driver
   * @{
-- 
2.25.1



More information about the devel mailing list