zephyr/drivers/serial/Kconfig.mcux
Kumar Gala 461b5018d3 serial: introduce SERIAL_SUPPORT_INTERRUPT Kconfig option
As not all drivers support interrupts we don't have a means to know if
we can allow UART_INTERRUPT_DRIVEN to be enabled and thus various
Kconfig options that select UART_INTERRUPT_DRIVEN.  Some drivers have a
interrupts, however not all do.  So introduce a Kconfig option to let us
know what the driver actually supports.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-06-29 07:07:31 -04:00

56 lines
755 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
default n
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
help
Enable the MCUX uart driver.
if UART_MCUX
menuconfig UART_MCUX_0
bool "UART 0"
default n
help
Enable UART 0.
menuconfig UART_MCUX_1
bool "UART 1"
default n
help
Enable UART 1.
menuconfig UART_MCUX_2
bool "UART 2"
default n
help
Enable UART 2.
menuconfig UART_MCUX_3
bool "UART 3"
default n
help
Enable UART 3.
menuconfig UART_MCUX_4
bool "UART 4"
default n
help
Enable UART 4.
menuconfig UART_MCUX_5
bool "UART 5"
default n
help
Enable UART 5.
endif # UART_MCUX