27 lines
563 B
Plaintext
27 lines
563 B
Plaintext
# Emulated UART configuration options
|
|
|
|
# Copyright (c) 2023 Fabian Blatz
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_EMUL
|
|
bool "Emulated UART driver [EXPERIMENTAL]"
|
|
default y
|
|
depends on DT_HAS_ZEPHYR_UART_EMUL_ENABLED
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
select RING_BUFFER
|
|
select EXPERIMENTAL
|
|
help
|
|
Enable the emulated UART driver.
|
|
|
|
if UART_EMUL
|
|
|
|
config UART_EMUL_WORK_Q_STACK_SIZE
|
|
int "UART emulator work queue stack size"
|
|
default 2048
|
|
|
|
config UART_EMUL_WORK_Q_PRIORITY
|
|
int "UART emulator work queue thread priority"
|
|
default 1
|
|
|
|
endif # UART_EMUL
|