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:
parent
6a499f46ab
commit
1d2a030ee3
5 changed files with 101 additions and 3 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue