1# MCUXpresso SDK USART
2# Copyright 2017, NXP
3# SPDX-License-Identifier: Apache-2.0
4
5config UART_MCUX_FLEXCOMM
6	bool "MCUX FLEXCOMM UART driver"
7	default y
8	depends on DT_HAS_NXP_LPC_USART_ENABLED
9	select SERIAL_HAS_DRIVER
10	select SERIAL_SUPPORT_INTERRUPT
11	select SERIAL_SUPPORT_ASYNC if \
12		DT_HAS_NXP_LPC_DMA_ENABLED
13	select DMA if UART_ASYNC_API
14	select PINCTRL
15	help
16	  Enable the MCUX USART driver.
17
18config UART_MCUX_FLEXCOMM_ISR_SUPPORT
19	bool
20	depends on UART_MCUX_FLEXCOMM
21	default y if UART_INTERRUPT_DRIVEN || UART_ASYNC_API
22	help
23	  Enable UART interrupt service routine.
24