Skip to content

Commit

Permalink
[nrfconnect] Added LOG dependency for CHIP_APP_LOG_LEVEL (#24279)
Browse files Browse the repository at this point in the history
CHIP_APP_LOG_LEVEL tries to set default to LOG_DEFAULT_LEVEL,
but if LOG is disabled for release build the assembler will fail
to process it.

Added LOG dependency to make sure that LOG_DEFAULT_LEVEL
exists before using it.
  • Loading branch information
kkasperczyk-no authored and pull[bot] committed Dec 15, 2023
1 parent 86f9e55 commit 2e1ffbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/nrfconnect/chip-module/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ config CHIP_DEVICE_VENDOR_NAME
config CHIP_APP_LOG_LEVEL
int "Set logging level in application"
default LOG_DEFAULT_LEVEL
depends on LOG
help
Sets the logging level in Matter application.
This config should be used only within application.
Expand Down

0 comments on commit 2e1ffbe

Please sign in to comment.