Skip to content
Permalink
Browse files

drivers: serial: Enable LPUART for STM32WB

A required code to enable LPUART_1 on stm32wb series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information...
erwango authored and galak committed May 20, 2019
1 parent 69a2896 commit 9c1ffddcaf53af2997ff0f3b3982a758939805ae
Showing with 3 additions and 1 deletion.
  1. +3 −1 drivers/serial/uart_stm32.c
@@ -815,7 +815,9 @@ STM32_UART_INIT(UART_10)

#endif

#if defined(CONFIG_SOC_SERIES_STM32L4X) || defined(CONFIG_SOC_SERIES_STM32L0X)
#if defined(CONFIG_SOC_SERIES_STM32L4X) || \
defined(CONFIG_SOC_SERIES_STM32L0X) || \
defined(CONFIG_SOC_SERIES_STM32WBX)
#ifdef CONFIG_LPUART_1
STM32_UART_INIT(LPUART_1)
#endif /* CONFIG_LPUART_1 */

0 comments on commit 9c1ffdd

Please sign in to comment.
You can’t perform that action at this time.