Skip to content

Commit

Permalink
snippets: matter: Use boards instead of wildcards for matter-debug
Browse files Browse the repository at this point in the history
We need to use exact boards for matter-debug snippet. If a user
wants to add it to their board, they must increase UART speed
manually. Added the update in the docs as well.

Signed-off-by: Arkadiusz Balys <[email protected]>
  • Loading branch information
ArekBalysNordic committed Jan 20, 2025
1 parent 83b373b commit 1de5e75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,3 +354,8 @@ For example, for the ``nrf52840dk/nrf52840`` board target and the :ref:`matter_l
:class: highlight
west build -b nrf52840dk/nrf52840 -- -Dlock_SNIPPET=matter-debug
.. note::

You can increase the UART speed using this snippet only for Nordic Development Kits.
If you want to use the snippet for your custom board, you need to adjust the UART speed manually.
11 changes: 4 additions & 7 deletions snippets/matter-debug/snippet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,18 @@ append:
EXTRA_CONF_FILE: matter_debug.conf

boards:
/.*nrf52840.*/:
nrf52840dk/nrf52840:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf52840dk_nrf52840.overlay
/.*nrf5340.*/:
nrf5340dk/nrf5340/cpuapp:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf5340dk_nrf5340_cpuapp.overlay
nrf7002dk/nrf5340/cpuapp:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf7002dk_nrf5340_cpuapp.overlay
thingy53/nrf5340/cpuapp:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf5340dk_nrf5340_cpuapp.overlay
/.*nrf54l.*/:
nrf54l15dk/nrf54l15/cpuapp:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay
/.*nrf54h20.*/:
nrf54h20dk/nrf54h20/cpuapp:
append:
EXTRA_DTC_OVERLAY_FILE: boards/nrf54h20dk_nrf54h20_cpuapp.overlay

0 comments on commit 1de5e75

Please sign in to comment.