Skip to content

Commit

Permalink
logging: Fix UART dictionary frontend configuration
Browse files Browse the repository at this point in the history
Logging string stripping depends on LOG_DICTIONARY_SUPPORT being
enabled and it was not set in UART dictionary frontend.

Additionally, string stripping can be done when runtime filtering
is enabled so changed that dependency and replaced it with
LOG_FRONTEND_ONLY dependency.

Signed-off-by: Krzysztof Chruściński <[email protected]>
  • Loading branch information
nordic-krch committed Jul 5, 2024
1 parent 3804c8e commit 80e1a71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subsys/logging/Kconfig.frontends
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ menu "Frontends"

config LOG_FRONTEND_DICT_UART
bool "UART dictionary frontend"
select LOG_DICTIONARY_DB
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
imply LOG_FMT_SECTION_STRIP if LOG_FRONTEND_ONLY
help
Frontend sends data in binary dictionary mode.

Expand Down

0 comments on commit 80e1a71

Please sign in to comment.