1# Copyright (c) 2022 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4menu "Frontends"
5
6config LOG_FRONTEND_DICT_UART
7	bool "UART dictionary frontend"
8	select LOG_DICTIONARY_DB
9	select MPSC_PBUF
10	depends on UART_ASYNC_API || UART_INTERRUPT_DRIVEN
11	imply LOG_FMT_SECTION
12	imply LOG_FMT_SECTION_STRIP
13	help
14	  Frontend sends data in binary dictionary mode.
15
16if LOG_FRONTEND_DICT_UART
17
18config LOG_FRONTEND_DICT_UART_BUFFER_SIZE
19	int "Buffer size"
20	default 1024
21	help
22	  Number of bytes dedicated for buffering data
23
24config LOG_FRONTEND_DICT_UART_DROPPED_NOTIFY_PERIOD
25	int "Dropped notification period"
26	default 500
27	help
28	  Determines how often a report about dropped messages is printed. Given
29	  in milliseconds.
30
31endif
32endmenu
33