logging: Minimal mode configuration cleanup
Remove LOG_MINIMAL kconfig option which was confusing since LOG_MODE_MINIMAL existed. LOG_MINIMAL was used to force minimal mode but because of invalid dependencies it was leading to issues. Refactored code to use LOG_MODE_MINIMAL everywhere and renamed LOG_MINIMAL to LOG_DEFAULT_MINIMAL which has impact on defualt logging mode (which still can be later changed in conf file or in menuconfig). Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
66130da4c9
commit
c0808e3f59
13 changed files with 23 additions and 24 deletions
|
@ -224,7 +224,7 @@ config SHELL_CMD_ROOT
|
|||
|
||||
config SHELL_LOG_BACKEND
|
||||
bool "Enable shell log backend"
|
||||
depends on LOG && !LOG_MINIMAL
|
||||
depends on LOG && !LOG_MODE_MINIMAL
|
||||
default y if LOG
|
||||
help
|
||||
When enabled, backend will use the shell for logging.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue