Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: misc: coresight: Enable log colors for STMESP logging #81451

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/misc/coresight/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ config NRF_ETR_DECODE
select CS_TRACE_DEFMT
select LOG_FRONTEND_STMESP_DEMUX
select LOG_OUTPUT
imply LOG_BACKEND_SHOW_COLOR
imply CBPRINTF_FP_SUPPORT
help
In this mode, log messages stored by Coresight STM logging frontends are
Expand Down
3 changes: 1 addition & 2 deletions subsys/logging/Kconfig.formatting
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ config LOG_IMMEDIATE_CLEAN_OUTPUT

config LOG_BACKEND_SHOW_COLOR
bool "Colors in the backend"
depends on LOG_BACKEND_UART || LOG_BACKEND_NATIVE_POSIX || LOG_BACKEND_RTT \
default y if LOG_BACKEND_UART || LOG_BACKEND_NATIVE_POSIX || LOG_BACKEND_RTT \
|| LOG_BACKEND_SWO || LOG_BACKEND_XTENSA_SIM || SHELL_LOG_BACKEND
default y
help
When enabled selected backend prints errors in red and warning in yellow.

Expand Down
Loading