Browse Source

snippets: silabs-pti: Add snippet to enable Packet Trace Interface

Add snippet that can be used to enable packet trace output from
Silicon Labs Series 2 devices.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
pull/88487/merge
Aksel Skauge Mellbye 4 months ago committed by Benjamin Cabé
parent
commit
24d171db43
  1. 1
      MAINTAINERS.yml
  2. 21
      snippets/silabs-pti/README.rst
  3. 4
      snippets/silabs-pti/pti.conf
  4. 11
      snippets/silabs-pti/pti.overlay
  5. 4
      snippets/silabs-pti/snippet.yml

1
MAINTAINERS.yml

@ -3691,6 +3691,7 @@ Silabs Platforms: @@ -3691,6 +3691,7 @@ Silabs Platforms:
- drivers/*/*/*silabs*
- drivers/*/*/*siwx91x*
- tests/boards/silabs/
- snippets/*silabs*/
labels:
- "platform: Silabs"

21
snippets/silabs-pti/README.rst

@ -0,0 +1,21 @@ @@ -0,0 +1,21 @@
.. _silabs-pti:
Silicon Labs Packet Trace Interface (silabs-pti)
################################################
Overview
********
This snippet allows users to build Zephyr applications for Silicon Labs Series 2 devices
where radio packets are emitted over the Packet Trace Interface for use by debugging tools.
.. code-block:: console
west build -S silabs-pti [...]
Requirements
************
Hardware support for :dtcompatible:`silabs,pti`.
A pinctrl configuration with nodelabel ``pti_default`` containing PTI pinout.

4
snippets/silabs-pti/pti.conf

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
# Copyright (c) 2024 Silicon Laboratories Inc.
# SPDX-License-Identifier: Apache-2.0
CONFIG_DEBUG_DRIVER=y

11
snippets/silabs-pti/pti.overlay

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
/*
* Copyright (c) 2025 Silicon Laboratories Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
&pti {
pinctrl-0 = <&pti_default>;
pinctrl-names = "default";
status = "okay";
};

4
snippets/silabs-pti/snippet.yml

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
name: silabs-pti
append:
EXTRA_CONF_FILE: pti.conf
EXTRA_DTC_OVERLAY_FILE: pti.overlay
Loading…
Cancel
Save