SKYLP support on Zephyr [FIR-446] #40
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
3h 2m
Annotations
20 errors and 5 warnings
Run compliance checks on patch series (PR):
BinaryFiles.txt#L1
No binary files allowed.
Binary file not allowed: samples/net/sockets/http_server/src/certs/ca.der
Binary file not allowed: samples/net/sockets/http_server/src/certs/ca_cert.der
Binary file not allowed: samples/net/sockets/http_server/src/certs/server_cert.der
Binary file not allowed: samples/net/sockets/http_server/src/certs/server_privkey.der
|
Run compliance checks on patch series (PR):
Checkpatch.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details.
-:17727: WARNING:LINE_SPACING: Missing a blank line after declarations
#17727: FILE: arch/xtensa/include/xtensa_asm2_s.h:445:
+ or a0, a0, a3
+ wsr.ps a0
-:152698: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#152698: FILE: boards/tsi/skylp/tsi_skylp_m85.dts:93:
+ /*soc {
+ peripheral@71000000 {
-:152705: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#152705: FILE: boards/tsi/skylp/tsi_skylp_m85.dts:100:
+ };*/
-:237406: WARNING:LINE_SPACING: Missing a blank line after declarations
#237406: FILE: drivers/dai/intel/ssp/ssp.c:2083:
+ uint32_t ssc0 = regs->ssc0;
+ sscr1 = regs->ssc1 & ~(SSCR1_RSVD21);
-:347388: WARNING:RETURN_VOID: void function return statements are not generally useful
#347388: FILE: drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:60:
+ return;
+}
-:399329: WARNING:LINE_SPACING: Missing a blank line after declarations
#399329: FILE: drivers/stepper/stepper_shell.c:47:
+ const struct shell *sh = user_data;
+ if (!sh) {
-:524511: WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#524511: FILE: include/zephyr/arch/riscv/arch_inlines.h:34:
+#define arch_current_thread_set(thread) \
+ do { \
+ __arch_current_thread = _current_cpu->current = (thread); \
+ } while (0)
-:553170: ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#553170: FILE: include/zephyr/drivers/misc/coresight/stmesp.h:56:
+static inline volatile void *_stmesp_get_data_reg(STMESP_Type *reg, bool ts,
^
-:612188: ERROR:SPACING: space prohibited before that close parenthesis ')'
#612188: FILE: include/zephyr/linker/devicetree_regions.h:89:
+#define _LINKER_R_PAREN )
-:774893: ERROR:API_DEFINE: do not specify non-standard feature test macros for embedded code
#774893: FILE: scripts/native_simulator/common/src/nct.c:64:+#define _GNU_SOURCE
-:896320: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct bt_conn_le_subrate_changed params' should also have an identifier name
#896320: FILE: subsys/bluetooth/host/conn_internal.h:497:
+void notify_subrate_change(struct bt_conn *conn,
-:896323: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct bt_conn_le_cs_capabilities params' should also have an identifier name
#896323: FILE: subsys/bluetooth/host/conn_internal.h:500:
+void notify_remote_cs_capabilities(struct bt_conn *conn,
-:896326: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct bt_conn_le_cs_fae_table params' should also have an identifier name
#896326: FILE: subsys/bluetooth/host/conn_internal.h:503:
+void notify_remote_cs_fae_table(struct bt_conn *conn,
-:904258: WARNING:LINE_SPACING: Missing a blank line after declarations
#904258: FILE: subsys/bluetooth/host/shell/bt.c:653:
+ bool keep_rpa = atomic_test_bit(adv_set_opt[adv_index], SHELL_ADV_OPT_KEEP_RPA);
+ bt_shell_print("Advertiser[%d] %p RPA %s", adv_index, adv,
-:918901: WARNING:LINE_SPACING: Missing a blank line after declarations
#918901: FILE: subsys/fs/zms/zms.c:1433:
+ int prev_found = zms_find_ate_with_id(fs, id, wlk_addr, fs->ate_wra, &wlk_ate, &rd_addr);
+ if (prev_found < 0) {
-:941778: WARNING:TYPO_SPELLING: 'acknowledgement' may be misspelled - perhaps 'acknowledgment'?
#941778: FILE: subsys/net/l2/ieee802154/ieee802154_priv.h:66:
+ * This function checks for and supports both, software and hardware acknowledgement,
-:941787: WARNING:TYPO_SPELLING: 'acknowledgement' may be misspelled - perhaps 'acknowledgment'?
#941787: FILE: subsys/net/l2/ieee802154/ieee802154_priv.h:75:
+ * @return true if the given packet requires acknowledgement, false otherwise.
-:941796: WARNING:TYPO_SPELLING: 'acknowledgement' may be misspelled - perhaps 'acknowledgment'?
#941796: FI
|
Run compliance checks on patch series (PR):
GitDiffCheck.txt#L1
Git conflict markers and whitespace errors are not allowed in added changes
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:2: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:5: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:10: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:11: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:12: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:13: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:14: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:15: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:16: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:17: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:18: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:19: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:20: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:21: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:22: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:23: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:24: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:25: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:26: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:27: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:28: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:29: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:30: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:33: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:34: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:35: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:36: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:37: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:42: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:43: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:44: trailing whitespace.
81c12616bda85971683b3a38851e618a6d017704: tests/bluetooth/qualification/ICS_Zephyr_
|
Run compliance checks on patch series (PR):
Gitlint.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details
Commit 6a56d5539f:
1: UC2 Commit message does not contain a 'Signed-off-by:' line
2: B4 Second line is not empty: "This commit brings changes necessary to support SKYLP on Zephyr."
|
Run compliance checks on patch series (PR):
Identity.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details
6a56d5539f1950d7bbcca103aef69187d74331de: author email (Riaz Khan <riaz@tsavoritesi.com>) needs to match one of the signed-off-by entries.
bdf35eab1c8dea495fd6c60ff57de266a9a25724: author email (Manuel Argüelles <manuel.arguelles@nxp.com>) needs to match one of the signed-off-by entries.
|
Run compliance checks on patch series (PR):
ImageSize.txt#L1
Check the size of image files.
Image file too large: boards/intel/socfpga_std/cyclonev_socdk/doc/img/cyclonev_socdk.jpg reduce size to less than 100kB
|
Run compliance checks on patch series (PR):
Pylint.txt#L1
See https://www.pylint.org/ for more details
E0611:No name 'TEST_DATA' in module 'conftest' (no-name-in-module)
File:doc/develop/test/twister/sample_blackbox_test.py
Line:13
Column:0
E0611:No name 'ZEPHYR_BASE' in module 'conftest' (no-name-in-module)
File:doc/develop/test/twister/sample_blackbox_test.py
Line:13
Column:0
E0611:No name 'testsuite_filename_mock' in module 'conftest' (no-name-in-module)
File:doc/develop/test/twister/sample_blackbox_test.py
Line:13
Column:0
E0611:No name 'other_constants' in module 'constants' (no-name-in-module)
File:scripts/generate_usb_vif/constants/xml_constants.py
Line:8
Column:0
E0611:No name 'vif_element_constants' in module 'constants' (no-name-in-module)
File:scripts/generate_usb_vif/constants/xml_constants.py
Line:8
Column:0
E0611:No name 'ZEPHYR_BASE' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister/test_harness.py
Line:17
Column:0
E1120:No value for argument 'target' in method call (no-value-for-parameter)
File:scripts/tests/twister/test_platform.py
Line:118
Column:8
E1120:No value for argument 'aliases' in method call (no-value-for-parameter)
File:scripts/tests/twister/test_platform.py
Line:118
Column:8
E1120:No value for argument 'data' in method call (no-value-for-parameter)
File:scripts/tests/twister/test_platform.py
Line:118
Column:8
C0117:Consider changing "not testinstance < testinstance_copy" to "testinstance >= testinstance_copy" (unnecessary-negation)
File:scripts/tests/twister/test_testinstance.py
Line:359
Column:11
C0117:Consider changing "not testinstance_copy < testinstance" to "testinstance_copy >= testinstance" (unnecessary-negation)
File:scripts/tests/twister/test_testinstance.py
Line:360
Column:11
C0201:Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
File:scripts/tests/twister/test_testplan.py
Line:837
Column:37
E0611:No name 'ZEPHYR_BASE' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_addon.py
Line:19
Column:0
E0611:No name 'TEST_DATA' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_addon.py
Line:19
Column:0
E0611:No name 'sample_filename_mock' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_addon.py
Line:19
Column:0
E0611:No name 'testsuite_filename_mock' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_addon.py
Line:19
Column:0
E0611:No name 'ZEPHYR_BASE' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_disable.py
Line:16
Column:0
E0611:No name 'TEST_DATA' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_disable.py
Line:16
Column:0
E0611:No name 'testsuite_filename_mock' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_disable.py
Line:16
Column:0
E0611:No name 'ZEPHYR_BASE' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_quarantine.py
Line:18
Column:0
E0611:No name 'TEST_DATA' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_quarantine.py
Line:18
Column:0
E0611:No name 'testsuite_filename_mock' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_quarantine.py
Line:18
Column:0
E0611:No name 'ZEPHYR_BASE' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_tooling.py
Line:17
Column:0
E0611:No name 'TEST_DATA' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_tooling.py
Line:17
Column:0
E0611:No name 'sample_filename_mock' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_tooling.py
Line:17
Column:0
E0611:No name 'testsuite_filename_mock' in module 'conftest' (no-name-in-module)
File:scripts/tests/twister_blackbox/test_tooling.py
Line:17
Column:0
I0021:Useless suppression of 'assignment-from-no-return' (useless-suppression)
File:scripts/utils/board_v1_to_v2.py
Line:79
Column:0
E0611:No name 'RC_KERNEL_BIN' in module 'conftest' (no-name-in-modul
|
Run compliance checks on patch series (PR):
Ruff.txt#L1
Check python files with ruff.
Python lint error (I001) see https://docs.astral.sh/ruff/rules/unsorted-imports:Import block is un-sorted or un-formatted
File:tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py
Line:4
Column:1
EndLine:10
EndColumn:1
Python lint error (E402) see https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file:Module level import not at top of file
File:tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py
Line:14
Column:1
EndLine:14
EndColumn:30
Python lint error (E501) see https://docs.astral.sh/ruff/rules/line-too-long:Line too long (104 > 100)
File:tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py
Line:67
Column:101
EndLine:67
EndColumn:105
Python format error:Run 'ruff format tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py'
File:tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py
|
Run compliance checks on patch series (PR):
SphinxLint.txt#L1
Check Sphinx/reStructuredText files with sphinx-lint.
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:67
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:296
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:298
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:395
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:472
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:474
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:475
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:479
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:531
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/migration-guide-3.6.rst
Line:534
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/release-notes-3.5.rst
Line:2183
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/release-notes-3.5.rst
Line:2325
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/release-notes-3.5.rst
Line:2326
SphinxLint:role missing opening tag colon ( ref:`). (missing-space-before-role)
File:doc/releases/release-notes-3.5.rst
Line:2183
SphinxLint:default role used (hint: for inline literals, use double backticks) (default-role)
File:doc/releases/release-notes-3.6.rst
Line:289
|
Run compliance checks on patch series (PR)
Process completed with exit code 1.
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L67
doc/releases/migration-guide-3.6.rst:67 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L296
doc/releases/migration-guide-3.6.rst:296 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L298
doc/releases/migration-guide-3.6.rst:298 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L395
doc/releases/migration-guide-3.6.rst:395 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L472
doc/releases/migration-guide-3.6.rst:472 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L474
doc/releases/migration-guide-3.6.rst:474 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L475
doc/releases/migration-guide-3.6.rst:475 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L479
doc/releases/migration-guide-3.6.rst:479 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L531
doc/releases/migration-guide-3.6.rst:531 default role used (hint: for inline literals, use double backticks) (default-role)
|
SphinxLint:
doc/releases/migration-guide-3.6.rst#L534
doc/releases/migration-guide-3.6.rst:534 default role used (hint: for inline literals, use double backticks) (default-role)
|
C0117:
scripts/tests/twister/test_testinstance.py#L359
scripts/tests/twister/test_testinstance.py:359 Consider changing "not testinstance < testinstance_copy" to "testinstance >= testinstance_copy" (unnecessary-negation)
|
C0117:
scripts/tests/twister/test_testinstance.py#L360
scripts/tests/twister/test_testinstance.py:360 Consider changing "not testinstance_copy < testinstance" to "testinstance_copy >= testinstance" (unnecessary-negation)
|
C0201:
scripts/tests/twister/test_testplan.py#L837
scripts/tests/twister/test_testplan.py:837 Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
|
I0021:
scripts/utils/board_v1_to_v2.py#L79
scripts/utils/board_v1_to_v2.py:79 Useless suppression of 'assignment-from-no-return' (useless-suppression)
|
R0801:
tests/ztest/ztest_param/pytest/test_parameters.py#L1
tests/ztest/ztest_param/pytest/test_parameters.py:1 Similar lines in 2 files
==test_stm:[120:184]
==test_stm:[98:164]
try:
for child in psutil.Process(proc.pid).children(recursive=True):
child.kill()
proc.kill()
except Exception as e:
logger.exception(f'Could not kill nrfutil - {e}')
def _nrfutil_dictionary_from_serial(
dut: DeviceAdapter,
decoded_file_name: str = "output.txt",
collect_time: float = 60.0,
) -> None:
UART_PATH = dut.device_config.serial
UART_BAUDRATE = dut.device_config.baud
dut.close()
logger.debug(f"Using serial: {UART_PATH}")
if Path(f"{decoded_file_name}").exists():
logger.warning("Output file already exists!")
# prepare database config string
BUILD_DIR = str(dut.device_config.build_dir)
logger.debug(f"{BUILD_DIR=}")
config_str = f"{STM_M_ID['app']}:{BUILD_DIR}/coresight_stm/zephyr/log_dictionary.json"
config_str += f",{STM_M_ID['rad']}:{BUILD_DIR}/remote_rad/zephyr/log_dictionary.json"
if SB_CONFIG_APP_CPUPPR_RUN:
config_str += f",{STM_M_ID['ppr']}:{BUILD_DIR}/remote_ppr/zephyr/log_dictionary.json"
if SB_CONFIG_APP_CPUFLPR_RUN:
config_str += f",{STM_M_ID['flpr']}:{BUILD_DIR}/remote_flpr/zephyr/log_dictionary.json"
logger.debug(f"{config_str=}")
cmd = (
"nrfutil trace stm --database-config "
f"{config_str} "
f"--input-serialport {UART_PATH} --baudrate {UART_BAUDRATE} "
f"--output-ascii {decoded_file_name}"
)
try:
# run nrfutil trace in background non-blocking
logger.info(f"Executing:\n{cmd}")
proc = subprocess.Popen(cmd.split(), stdout=subprocess.DEVNULL)
except OSError as exc:
logger.error(f"Unable to start nrfutil trace:\n{cmd}\n{exc}")
try:
proc.wait(collect_time)
except subprocess.TimeoutExpired:
pass
finally:
_kill(proc)
def test_STM_decoded(dut: DeviceAdapter):
"""
Run sample.boards.nrf.coresight_stm from samples/boards/nrf/coresight_stm sample.
Both Application and Radio cores use STM for logging.
STM proxy (Application core) decodes logs from all domains.
After reset, coprocessors execute code in expected way and Application core
outputs STM traces on UART port.
"""
BUILD_DIR = str(dut.device_config.build_dir)
autoconf_file = f"{BUILD_DIR}/_sysbuild/autoconf.h"
(duplicate-code)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
compliance.xml
|
268 KB |
|