drivers: serial: provide support for stm32f091

Support the USARTs of the ST STM32F091xx SoC.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
Bobby Noelte 2017-10-27 17:20:40 +02:00 committed by Kumar Gala
commit 2ce56e0100

View file

@ -172,7 +172,7 @@ static void uart_stm32_irq_err_enable(struct device *dev)
/* Enable FE, ORE interruptions */
LL_USART_EnableIT_ERROR(UartInstance);
/* Enable Line break detection */
#ifndef CONFIG_SOC_STM32F030X8
#ifndef CONFIG_SOC_SERIES_STM32F0X
LL_USART_EnableIT_LBD(UartInstance);
#endif
/* Enable parity error interruption */
@ -186,7 +186,7 @@ static void uart_stm32_irq_err_disable(struct device *dev)
/* Enable FE, ORE interruptions */
LL_USART_DisableIT_ERROR(UartInstance);
/* Enable Line break detection */
#ifndef CONFIG_SOC_STM32F030X8
#ifndef CONFIG_SOC_SERIES_STM32F0X
LL_USART_DisableIT_LBD(UartInstance);
#endif
/* Enable parity error interruption */