drivers: serial: Add STM32G4X serial support

Add UART driver support for STM32G4X SoC series.

Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
This commit is contained in:
Richard Osterloh 2019-09-04 09:43:07 +01:00 committed by Andrew Boie
commit 1d2a030ee3
5 changed files with 101 additions and 3 deletions

View file

@ -42,6 +42,12 @@
#ifdef CONFIG_GPIO_STM32
#include <stm32g4xx_ll_gpio.h>
#endif
#ifdef CONFIG_SERIAL_HAS_DRIVER
#include <stm32g4xx_ll_usart.h>
#include <stm32g4xx_ll_lpuart.h>
#endif /* CONFIG_SERIAL_HAS_DRIVER */
#endif /* !_ASMLANGUAGE */
#endif /* _STM32G4_SOC_H_ */