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
16config OPENTHREAD_HDLC_RCP_IF_UART_RX_RING_BUFFER_SIZE
17	int "Set HDLC RCP IF UART RX ring buffer size"
18	default 4096
19	help
20	  RX buffer size for the OpenThread HDLC host UART.
21
22config OPENTHREAD_HDLC_RCP_IF_UART_TX_RING_BUFFER_SIZE
23	int "Set HDLC RCP IF UART TX ring buffer size"
24	default 1344
25	help
26	  TX buffer size for the OpenThread HDLC host UART.
27