2019-11-01 20:45:29 +08:00
|
|
|
# MCUXpresso SDK LPUART
|
|
|
|
|
2017-01-18 19:54:58 +08:00
|
|
|
# Copyright (c) 2017, NXP
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-04-19 23:00:26 +08:00
|
|
|
config UART_MCUX_LPUART
|
2017-01-18 19:54:58 +08:00
|
|
|
bool "MCUX LPUART driver"
|
2022-07-21 02:46:30 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_KINETIS_LPUART_ENABLED
|
|
|
|
depends on CLOCK_CONTROL
|
2017-01-18 19:54:58 +08:00
|
|
|
select SERIAL_HAS_DRIVER
|
2017-06-23 00:26:58 +08:00
|
|
|
select SERIAL_SUPPORT_INTERRUPT
|
2022-04-09 04:55:08 +08:00
|
|
|
select SERIAL_SUPPORT_ASYNC
|
|
|
|
select DMA if UART_ASYNC_API
|
2017-01-18 19:54:58 +08:00
|
|
|
help
|
|
|
|
Enable the MCUX LPUART driver.
|
2022-04-20 05:06:32 +08:00
|
|
|
|
|
|
|
config UART_MCUX_LPUART_ISR_SUPPORT
|
|
|
|
bool
|
|
|
|
depends on UART_MCUX_LPUART
|
|
|
|
default y if UART_INTERRUPT_DRIVEN || PM || UART_ASYNC_API
|
|
|
|
help
|
|
|
|
Enable UART interrupt service routine.
|