86c46864ee
Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though, and is inconsistent. This will make the auto-generated Kconfig documentation have "No defaults. Implicitly defaults to n." as well, which is clearer than 'default n if ...' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
52 lines
783 B
Plaintext
52 lines
783 B
Plaintext
# Kconfig - Gecko SDK UART
|
|
#
|
|
# Copyright (c) 2017, Christian Taedcke
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig UART_GECKO
|
|
bool "Gecko uart driver"
|
|
depends on HAS_SILABS_GECKO
|
|
depends on GPIO_GECKO
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
Enable the Gecko uart driver.
|
|
|
|
if UART_GECKO
|
|
|
|
menuconfig UART_GECKO_0
|
|
bool "UART 0"
|
|
help
|
|
Enable UART 0.
|
|
|
|
if UART_GECKO_0
|
|
|
|
config UART_GECKO_0_GPIO_LOC
|
|
int "Pin Locations"
|
|
range 0 3
|
|
depends on UART_GECKO
|
|
help
|
|
The GPIO pins to use.
|
|
|
|
endif # UART_GECKO_0
|
|
|
|
menuconfig UART_GECKO_1
|
|
bool "UART 1"
|
|
help
|
|
Enable UART 1.
|
|
|
|
if UART_GECKO_1
|
|
|
|
config UART_GECKO_1_GPIO_LOC
|
|
int "Pin Locations"
|
|
range 0 3
|
|
depends on UART_GECKO
|
|
help
|
|
The GPIO pins to use.
|
|
|
|
endif # UART_GECKO_1
|
|
|
|
endif # UART_GECKO
|