1# Emulated UART configuration options 2 3# Copyright (c) 2023 Fabian Blatz 4# SPDX-License-Identifier: Apache-2.0 5 6config UART_EMUL 7 bool "Emulated UART driver [EXPERIMENTAL]" 8 default y 9 depends on DT_HAS_ZEPHYR_UART_EMUL_ENABLED 10 depends on EMUL 11 select SERIAL_HAS_DRIVER 12 select SERIAL_SUPPORT_INTERRUPT 13 select SERIAL_SUPPORT_ASYNC 14 select RING_BUFFER 15 select EXPERIMENTAL 16 help 17 Enable the emulated UART driver. 18 19if UART_EMUL 20 21config UART_EMUL_DEVICE_INIT_PRIORITY 22 int "UART emulated devices' init priority" 23 default 0 24 help 25 The init priority of emulated driver on the UART bus. 26 27config UART_EMUL_WORK_Q_STACK_SIZE 28 int "UART emulator work queue stack size" 29 default 2048 30 31config UART_EMUL_WORK_Q_PRIORITY 32 int "UART emulator work queue thread priority" 33 default 1 34 35endif # UART_EMUL 36