Browse Source
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
5 changed files with 41 additions and 0 deletions
@ -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. |
@ -0,0 +1,4 @@ |
|||||||
|
# Copyright (c) 2024 Silicon Laboratories Inc. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
CONFIG_DEBUG_DRIVER=y |
@ -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"; |
||||||
|
}; |
Loading…
Reference in new issue