677f1e6db9
Defining a symbol with 'menuconfig' just tells the menuconfig to display any dependent symbols that immediately follow it in a separate menu. 'menuconfig' has no effect on symbol values. Making a symbol that doesn't have any dependent symbols after it a 'menuconfig' should be avoided, because then you end up with an empty menu, which is shown as e.g. [*] Enable foo --- This is how it would be shown if there were children but they all happened to be invisible as well. With a regular 'config', it turns into [*] Enable foo Change all pointless 'menuconfig's to 'config's. See the section on 'menuconfig' on the Kconfig - Tips and Best Practices page as well. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
49 lines
671 B
Plaintext
49 lines
671 B
Plaintext
# Kconfig - MCUXpresso SDK UART
|
|
#
|
|
# Copyright (c) 2017, NXP
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig UART_MCUX
|
|
bool "MCUX uart driver"
|
|
depends on HAS_MCUX && CLOCK_CONTROL
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
Enable the MCUX uart driver.
|
|
|
|
if UART_MCUX
|
|
|
|
config UART_MCUX_0
|
|
bool "UART 0"
|
|
help
|
|
Enable UART 0.
|
|
|
|
config UART_MCUX_1
|
|
bool "UART 1"
|
|
help
|
|
Enable UART 1.
|
|
|
|
config UART_MCUX_2
|
|
bool "UART 2"
|
|
help
|
|
Enable UART 2.
|
|
|
|
config UART_MCUX_3
|
|
bool "UART 3"
|
|
help
|
|
Enable UART 3.
|
|
|
|
config UART_MCUX_4
|
|
bool "UART 4"
|
|
help
|
|
Enable UART 4.
|
|
|
|
config UART_MCUX_5
|
|
bool "UART 5"
|
|
help
|
|
Enable UART 5.
|
|
|
|
endif # UART_MCUX
|