I'm trying to add diagnostic logging functionality to my Matter project using SDK version v3.0.1. I followed the steps outlined here: (https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/matter/getting_started/advanced_kconfigs.html#diagnostic_logs), but I'm encountering compilation errors.
Here's what I've done:
- Added the Diagnostic Logs cluster in ZAP Tool
- Added the following configurations to
prj.conf
CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS=y
CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_CRASH_LOGS=y
CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_REMOVE_CRASH_AFTER_READ=y
CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_END_USER_LOGS=y
CONFIG_NCS_SAMPLE_MATTER_DIAGNOSTIC_LOGS_NETWORK_LOGS=y
CONFIG_LOG_MODE_DEFERRED=y CONFIG_LOG_RUNTIME_FILTERING=n
However, when I try to build the project, it fails with compilation errors.
Could you provide me with a sample project?