This patch adds support for HOST OpenThread communication to the RCP co-processor via UART using SPINEL protocol. The aim is to use OpenThread's RCP (Radio Co-Processor) with HOST device (for example imxRT1020). Such configuration is the same as one used with PC program (ot-cli) and RCP. Signed-off-by: Lukasz Majewski <lukma@denx.de>
30 lines
813 B
Text
30 lines
813 B
Text
# Configuration options for HDLC RCP communication Interface
|
|
|
|
# Copyright (c) 2024 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
# HDLC communication Interface used by Zephyr running Openthread RCP host
|
|
#
|
|
|
|
menuconfig HDLC_RCP_IF
|
|
bool "HDLC interface for a Zephyr Openthread RCP host"
|
|
depends on NET_L2_OPENTHREAD && !OPENTHREAD_COPROCESSOR
|
|
|
|
if HDLC_RCP_IF
|
|
|
|
source "drivers/hdlc_rcp_if/Kconfig.nxp"
|
|
source "drivers/hdlc_rcp_if/Kconfig.uart"
|
|
|
|
config HDLC_RCP_IF_DRV_NAME
|
|
string "HDLC RCP Interface Driver's name"
|
|
default "hdlc_rcp_if"
|
|
help
|
|
This option sets the driver name
|
|
|
|
module = HDLC_RCP_IF_DRIVER
|
|
module-str = HDLC driver for Openthread RCP host
|
|
module-help = Sets log level for Openthread HDLC RCP host interface Device Drivers.
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif # HDLC_RCP_IF
|