zephyr/subsys/logging/backends/Kconfig.ble
Krzysztof Chruściński 8652e8e413 logging: Fix LOG_OUTPUT dependency
When CONFIG_LOG_OUTPUT is set, it indicates that logging strings
are formatted by the application (using log_output module). It is
not needed when backend works in the dictionary mode. So far
LOG_OUTPUT was set also when dictionary mode was used and that
prevented removing of the logging strings from binary which is
an important feature of the dictionary logging.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-10-09 18:37:49 +01:00

22 lines
671 B
Text

# Copyright (c) 2023 Victor Chavez
# SPDX-License-Identifier: Apache-2.0
config LOG_BACKEND_BLE
bool "Bluetooth Low Energy (BLE) backend"
depends on BT
depends on LOG_PROCESS_THREAD_STACK_SIZE>=2048
select EXPERIMENTAL
help
Backend that sends log messages over Bluetooth LE Notifications. This
characteristic and its service are compatible with the Nordic UART
Service (NUS), from the nRF Connect SDK.
This allows to use this BLE Logger directly with a compatible app such
as the nRF UART 2.0 or nRF Toolbox app.
if LOG_BACKEND_BLE
backend = BLE
backend-str = ble
source "subsys/logging/Kconfig.template.log_format_config"
endif # LOG_BACKEND_BLE