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
|
@ -5,7 +5,7 @@ menu "Misc"
|
|||
|
||||
config LOG_DOMAIN_ID
|
||||
int "Domain ID"
|
||||
depends on !LOG_MINIMAL
|
||||
depends on !LOG_MODE_MINIMAL
|
||||
default 0
|
||||
range 0 7
|
||||
help
|
||||
|
@ -14,7 +14,7 @@ config LOG_DOMAIN_ID
|
|||
config LOG_CMDS
|
||||
bool "Enable shell commands"
|
||||
depends on SHELL
|
||||
depends on !LOG_FRONTEND && !LOG_MINIMAL
|
||||
depends on !LOG_FRONTEND && !LOG_MODE_MINIMAL
|
||||
default y if SHELL
|
||||
|
||||
config LOG_TEST_CLEAR_MESSAGE_SPACE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue