-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Labels
area: LoggingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Milestone
Description
Describe the bug
The SWO logger backend produces no output if CONFIG_LOG_IMMEDIATE Kconfig option is enabled. Otherwise it works as expected. The support for SWO backend has been overlooked when the new API for 'in place' mode has recently been added.
To Reproduce
Steps to reproduce the behavior:
- mkdir build; cd build
- cmake -DBOARD=efr32_slwstk6061a ../samples/subsys/logging/logger/
(or any other board with SWO support) - configure:
CONFIG_LOG_BACKEND_SWO=y
CONFIG_LOG_IMMEDIATE=y - make flash
- Start SWO console
- Reset the board, observe no output
Expected behavior
The log output is printed to SWO console.
Impact
SWO can't be used in 'in place' mode required by SoCs with limited RAM, low power projects.
Environment
- OS: any
- Toolchain: any
- Commit SHA or Version used: v1.14.0-rc3
Metadata
Metadata
Assignees
Labels
area: LoggingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug