mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 20:33:30 +00:00
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>
26 lines
425 B
Plaintext
26 lines
425 B
Plaintext
# Kconfig - MCUXpresso SDK LPSCI
|
|
#
|
|
# Copyright (c) 2017, NXP
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig UART_MCUX_LPSCI
|
|
bool "MCUX LPSCI driver"
|
|
depends on HAS_MCUX && HAS_LPSCI
|
|
default n
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
Enable the MCUX LPSCI driver.
|
|
|
|
if UART_MCUX_LPSCI
|
|
|
|
menuconfig UART_MCUX_LPSCI_0
|
|
bool "UART 0"
|
|
default n
|
|
help
|
|
Enable UART 0.
|
|
|
|
endif # UART_MCUX_LPSCI
|