1# Copyright (c) 2021 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4config LOG_BACKEND_SPINEL
5	bool "OpenThread dedicated Spinel protocol backend"
6	depends on !LOG_BACKEND_UART
7	depends on NET_L2_OPENTHREAD
8	help
9	  When enabled, backend will use OpenThread dedicated SPINEL protocol for logging.
10	  This protocol is byte oriented and wraps given messages into serial frames.
11	  Backend should be enabled only to OpenThread purposes and when UART backend is disabled
12	  or works on another UART device to avoid interference.
13
14if LOG_BACKEND_SPINEL
15
16config LOG_BACKEND_SPINEL_BUFFER_SIZE
17	int "Size of reserved up-buffer for logger output."
18	default 64
19	help
20	  Specify reserved size of up-buffer used for logger output.
21
22backend = SPINEL
23backend-str = spinel
24source "subsys/logging/Kconfig.template.log_format_config"
25
26endif # LOG_BACKEND_SPINEL
27