1sample:
2  name: Logging using Coresight STM on nrf54h20
3
4common:
5  tags: stm
6  sysbuild: true
7  platform_allow:
8    - nrf54h20dk/nrf54h20/cpuapp
9  integration_platforms:
10    - nrf54h20dk/nrf54h20/cpuapp
11
12tests:
13  sample.boards.nrf.coresight_stm.dict:
14    harness: pytest
15    harness_config:
16      pytest_dut_scope: session
17      pytest_root:
18        - "pytest/test_stm.py::test_STM_dictionary_mode"
19    required_snippets:
20      - nordic-log-stm-dict
21    extra_args:
22      - SB_CONFIG_APP_CPUPPR_RUN=y
23      - SB_CONFIG_APP_CPUFLPR_RUN=y
24
25  sample.boards.nrf.coresight_stm:
26    harness: pytest
27    harness_config:
28      pytest_dut_scope: session
29      pytest_root:
30        - "pytest/test_stm.py::test_STM_decoded"
31    required_snippets:
32      - nordic-log-stm
33    extra_args:
34      - SB_CONFIG_APP_CPUPPR_RUN=y
35      - SB_CONFIG_APP_CPUFLPR_RUN=y
36
37  sample.boards.nrf.coresight_stm.local_uart:
38    harness: console
39    harness_config:
40      type: multi_line
41      ordered: true
42      regex:
43        - "Timing for log message with 0 arguments:"
44        - "Timing for log message with 1 argument:"
45        - "Timing for log message with 2 arguments:"
46        - "Timing for log message with 3 arguments:"
47        - "Timing for log_message with string:"
48