diff --git a/arch/arm/src/efm32/efm32_serial.c b/arch/arm/src/efm32/efm32_serial.c index f7b18c28ae..c8f4ce0250 100644 --- a/arch/arm/src/efm32/efm32_serial.c +++ b/arch/arm/src/efm32/efm32_serial.c @@ -198,8 +198,7 @@ #define EFM32_TXERR_INTS (USART_IEN_TXOF) #define EFM32_RXERR_INTS (USART_IEN_RXOF | USART_IEN_RXUF | \ - USART_IEN_TXUF | USART_IEN_PERR | \ - USART_IEN_FERR) + USART_IEN_PERR | USART_IEN_FERR) #ifdef CONFIG_DEBUG # define EFM32_TX_INTS (USART_IEN_TXBL | EFM32_TXERR_INTS) # define EFM32_RX_INTS (USART_IEN_RXDATAV | EFM32_RXERR_INTS) diff --git a/configs/efm32-g8xx-stk/include/board.h b/configs/efm32-g8xx-stk/include/board.h index 9595a8e21c..ffcd64f2b8 100644 --- a/configs/efm32-g8xx-stk/include/board.h +++ b/configs/efm32-g8xx-stk/include/board.h @@ -210,6 +210,16 @@ #define BOARD_UART0_TX_GPIO (GPIO_PORTE|GPIO_PIN0) #define BOARD_UART0_ROUTE_LOCATION _USART_ROUTE_LOCATION_LOC1 +/* LEUART0: + * + * LEU0_RX #0 PD5 **AVAILABLE at TP123 and EXP port pin 14** + * LEU0_TX #0 PD4 **AVAILABLE at TP122 and EXP port pin 12** + */ + +#define BOARD_LEUART0_RX_GPIO (GPIO_PORTD|GPIO_PIN5) +#define BOARD_LEUART0_TX_GPIO (GPIO_PORTD|GPIO_PIN4) +#define BOARD_LEUART0_ROUTE_LOCATION _LEUART_ROUTE_LOCATION_LOC0 + /**************************************************************************** * Public Function Prototypes ****************************************************************************/