54cbf45c74
Add support for communication with serial ports on native POSIX platform via UART driver API. Serial port driver supports polling API, configuration of the serial ports used via devicetree and command line options, and runtime configuration with `uart_configure`. Multiple instances of the driver are supported. Example use and configuration is also demonstrated in the `samples/drivers/uart/native_tty` sample. Closes: #56586 Signed-off-by: Marko Sagadin <marko.sagadin42@gmail.com>
8 lines
242 B
Plaintext
8 lines
242 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
|