8cdcb2c167
Emulate SERIAL_SUPPORT_INTERRUPT for UART_NATIVE_TTY, using a thread that polls the tty and invokes the callback. This allows interrupt-driven subsystems such as modbus to use a native tty, which is useful for testing purposes. Signed-off-by: Björn Stenberg <bjorn@haxx.se>
9 lines
275 B
Plaintext
9 lines
275 B
Plaintext
# Copyright (c) 2023 Marko Sagadin
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
config UART_NATIVE_TTY
|
|
bool "UART driver for interacting with host serial ports"
|
|
default y
|
|
depends on DT_HAS_ZEPHYR_NATIVE_TTY_UART_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|