Matter debug snippet (matter-debug)

To build with this snippet, follow the instructions in the Using Snippets page.

When using nRF Connect for VS Code select the matter-debug snippet from the list in the Snippets menu.

Overview

The Matter debug snippet allows you to enable additional debug features while using Matter samples.

The following features are enabled when using this snippet:

  • UART speed is increased to 1 Mbit/s.

  • Log buffer size is set to high value to allow showing all logs.

  • Deferred mode of logging.

  • Increased verbosity of Matter logs.

  • OpenThread is built from sources.

  • OpenThread shell is enabled.

  • OpenThread logging level is set to INFO.

  • Full shell functionalities.

  • Logging source code location on VerifyOrDie failure that occurs in the Matter stack.

To use the snippet when building a sample:

When using nRF Connect for VS Code select the matter-debug snippet from the list in the Snippets menu.

Requirements

You can increase the UART speed using this snippet only for Nordic Semiconductor’s development kits. If you want to use the snippet for your custom board, you need to adjust the UART speed manually.