1# Configuration options for NXP HDLC RCP UART communication Interface
2
3# Copyright (c) 2024 DENX Software Engineering GmbH
4#               Lukasz Majewski <lukma@denx.de>
5# SPDX-License-Identifier: Apache-2.0
6
7#
8# HDLC UART communication Interface used by Zephyr running Openthread RCP host
9#
10
11config HDLC_RCP_IF_UART
12	bool "UART HDLC interface for Zephyr Openthread RCP host"
13	default y
14	depends on DT_HAS_UART_HDLC_RCP_IF_ENABLED
15	depends on UART_INTERRUPT_DRIVEN
16
17config OPENTHREAD_HDLC_RCP_IF_UART_RX_RING_BUFFER_SIZE
18	int "Set HDLC RCP IF UART RX ring buffer size"
19	default 4096
20	help
21	  RX buffer size for the OpenThread HDLC host UART.
22
23config OPENTHREAD_HDLC_RCP_IF_UART_TX_RING_BUFFER_SIZE
24	int "Set HDLC RCP IF UART TX ring buffer size"
25	default 1344
26	help
27	  TX buffer size for the OpenThread HDLC host UART.
28