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 boards.nrf.coresight_stm.dict: 14 filter: not CONFIG_COVERAGE 15 harness: pytest 16 harness_config: 17 pytest_dut_scope: session 18 pytest_root: 19 - "pytest/test_stm.py::test_STM_dictionary_mode" 20 required_snippets: 21 - nordic-log-stm-dict 22 extra_args: 23 - SB_CONFIG_APP_CPUPPR_RUN=y 24 - SB_CONFIG_APP_CPUFLPR_RUN=y 25 26 boards.nrf.coresight_stm: 27 filter: not CONFIG_COVERAGE 28 harness: pytest 29 harness_config: 30 pytest_dut_scope: session 31 pytest_root: 32 - "pytest/test_stm.py::test_STM_decoded" 33 required_snippets: 34 - nordic-log-stm 35 extra_args: 36 - SB_CONFIG_APP_CPUPPR_RUN=y 37 - SB_CONFIG_APP_CPUFLPR_RUN=y 38 39 boards.nrf.coresight_stm.dict.coverage: 40 filter: CONFIG_COVERAGE 41 harness: console 42 harness_config: 43 type: one_line 44 regex: 45 - "GCOV_COVERAGE_DUMP_END" 46 required_snippets: 47 - nordic-log-stm-dict 48 extra_args: 49 - SB_CONFIG_APP_CPUPPR_RUN=y 50 - SB_CONFIG_APP_CPUFLPR_RUN=n 51 - coresight_stm_CONFIG_LOG_PRINTK=n 52 53 boards.nrf.coresight_stm.coverage: 54 filter: CONFIG_COVERAGE 55 harness: console 56 harness_config: 57 type: multi_line 58 ordered: true 59 regex: 60 - "Timing for log message with 0 arguments:" 61 - "Timing for log message with 1 argument:" 62 - "Timing for log message with 2 arguments:" 63 - "Timing for log message with 3 arguments:" 64 - "Timing for log_message with string:" 65 required_snippets: 66 - nordic-log-stm 67 extra_args: 68 - SB_CONFIG_APP_CPUPPR_RUN=y 69 - SB_CONFIG_APP_CPUFLPR_RUN=n 70 - coresight_stm_CONFIG_LOG_PRINTK=n 71 72 boards.nrf.coresight_stm.local_uart.coverge: 73 filter: CONFIG_COVERAGE 74 harness: console 75 harness_config: 76 type: multi_line 77 ordered: true 78 regex: 79 - "Timing for log message with 0 arguments:" 80 - "Timing for log message with 1 argument:" 81 - "Timing for log message with 2 arguments:" 82 - "Timing for log message with 3 arguments:" 83 - "Timing for log_message with string:" 84 extra_args: 85 - CONFIG_LOG_MODE_IMMEDIATE=y 86