File tree Expand file tree Collapse file tree 5 files changed +42
-0
lines changed
samples/boards/nordic/coresight_stm
snippets/nordic/nordic-log-stm-tpiu-dict Expand file tree Collapse file tree 5 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ tests:
2222 - SB_CONFIG_APP_CPUPPR_RUN=y
2323 - SB_CONFIG_APP_CPUFLPR_RUN=y
2424
25+ sample.boards.nrf.coresight_stm.tpiu.dict :
26+ required_snippets :
27+ - nordic-log-stm-tpiu-dict
28+ extra_args :
29+ - SB_CONFIG_APP_CPUPPR_RUN=y
30+ - SB_CONFIG_APP_CPUFLPR_RUN=y
31+
2532 sample.boards.nrf.coresight_stm :
2633 harness : pytest
2734 harness_config :
Original file line number Diff line number Diff line change 1+ .. _nordic-log-stm-tpiu-dict :
2+
3+ Nordic Dictionary-based STM to TPIU logging snippet (nordic-log-stm-tpiu-dict)
4+ ##############################################################################
5+
6+ Overview
7+ ********
8+
9+ This snippet allows users to build Zephyr with the dictionary-based logging to
10+ the Coresight STM stimulus ports. Data is written to the TPIU interface and can
11+ be captured with nrfutil trace to translate into a human-readable format.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 Nordic Semiconductor
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+
6+ &coresight {
7+ status = "okay";
8+ mode = "stm-tpiu";
9+ pinctrl-0 = <&tpiu_default>;
10+ pinctrl-names = "default";
11+ };
Original file line number Diff line number Diff line change 1+ CONFIG_LOG=y
2+ CONFIG_TEST_LOGGING_DEFAULTS=n
3+ CONFIG_LOG_FRONTEND=y
4+ CONFIG_LOG_FRONTEND_ONLY=y
5+ CONFIG_LOG_FRONTEND_STMESP=y
6+ CONFIG_DEBUG_DRIVER=y
Original file line number Diff line number Diff line change 1+ name : nordic-log-stm-tpiu-dict
2+ append :
3+ EXTRA_CONF_FILE : log_stm_dict.conf
4+ boards :
5+ /.*/nrf54h20/cpuapp/ :
6+ append :
7+ EXTRA_DTC_OVERLAY_FILE : boards/nrf54h20_cpuapp.overlay
You can’t perform that action at this time.
0 commit comments