zephyr/subsys/logging/Kconfig.frontends
Krzysztof Chruściński 8ed29a625a logging: Fix UART dictionary frontend configuration
Logging string stripping depends on LOG_DICTIONARY_SUPPORT being
enabled and it was not set in UART dictionary frontend.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-07-09 14:01:56 +02:00

33 lines
771 B
Plaintext

# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
menu "Frontends"
config LOG_FRONTEND_DICT_UART
bool "UART dictionary frontend"
select LOG_DICTIONARY_SUPPORT
select MPSC_PBUF
depends on UART_ASYNC_API || UART_INTERRUPT_DRIVEN
imply LOG_FMT_SECTION
imply LOG_FMT_SECTION_STRIP if !LOG_ALWAYS_RUNTIME
help
Frontend sends data in binary dictionary mode.
if LOG_FRONTEND_DICT_UART
config LOG_FRONTEND_DICT_UART_BUFFER_SIZE
int "Buffer size"
default 1024
help
Number of bytes dedicated for buffering data
config LOG_FRONTEND_DICT_UART_DROPPED_NOTIFY_PERIOD
int "Dropped notification period"
default 500
help
Determines how often a report about dropped messages is printed. Given
in milliseconds.
endif
endmenu