Use UART0 for the serial console
This commit is contained in:
parent
21d906db0b
commit
8d73e56145
@ -48,16 +48,19 @@ endchoice
|
||||
# in turn, select general capabilities of the MCU family
|
||||
|
||||
config EFM32_EFM32TG
|
||||
bool n
|
||||
bool
|
||||
default n
|
||||
|
||||
config EFM32_EFM32G
|
||||
bool n
|
||||
bool
|
||||
default n
|
||||
select EFM32_HAVE_USART2
|
||||
select EFM32_HAVE_UART0
|
||||
select EFM32_HAVE_LEUART1
|
||||
|
||||
config EFM32_EFM32GG
|
||||
bool n
|
||||
bool
|
||||
default n
|
||||
select EFM32_HAVE_USART2
|
||||
select EFM32_HAVE_UART0
|
||||
select EFM32_HAVE_UART1
|
||||
@ -96,19 +99,19 @@ config EFM32_UART
|
||||
|
||||
# Then, these are the actual, selectable peripheral options
|
||||
|
||||
config EFM32_UART0
|
||||
config EFM32_USART0
|
||||
bool "USART0"
|
||||
default n
|
||||
select ARCH_HAVE_USART0
|
||||
select EFM32_UART
|
||||
|
||||
config EFM32_UART1
|
||||
config EFM32_USART1
|
||||
bool "USART1"
|
||||
default n
|
||||
select ARCH_HAVE_USART1
|
||||
select EFM32_UART
|
||||
|
||||
config EFM32_UART2
|
||||
config EFM32_USART2
|
||||
bool "USART2"
|
||||
default n
|
||||
depends on EFM32_HAVE_USART2
|
||||
@ -138,4 +141,5 @@ config EFM32_LEUART1
|
||||
select EFM32_HAVE_LEUART1
|
||||
select EFM32_UART
|
||||
|
||||
endif
|
||||
endmenu # EFM32 Peripheral Support
|
||||
endif # ARCH_CHIP_EFM32
|
||||
|
Loading…
Reference in New Issue
Block a user