Skip to content

Nano pin define fixes #1

Nano pin define fixes

Nano pin define fixes #1

Triggered via pull request January 27, 2025 18:36
Status Failure
Total duration 15m 0s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
14m 45s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 2 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. -:206860: WARNING:LINE_SPACING: Missing a blank line after declarations #206860: FILE: drivers/stepper/stepper_shell.c:47: + const struct shell *sh = user_data; + if (!sh) { -:266404: WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop #266404: 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) -:295479: ERROR:SPACING: space prohibited before that close parenthesis ')' #295479: FILE: include/zephyr/linker/devicetree_regions.h:89: +#define _LINKER_R_PAREN ) -:449318: WARNING:LINE_SPACING: Missing a blank line after declarations #449318: 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, -:489765: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489765: FILE: subsys/tracing/user/tracing_user.c:28: +void __weak sys_trace_gpio_pin_interrupt_configure_enter_user(const struct device *port, + gpio_pin_t pin, gpio_flags_t flags) {} -:489767: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489767: FILE: subsys/tracing/user/tracing_user.c:30: +void __weak sys_trace_gpio_pin_interrupt_configure_exit_user(const struct device *port, + gpio_pin_t pin, int ret) {} -:489769: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489769: FILE: subsys/tracing/user/tracing_user.c:32: +void __weak sys_trace_gpio_pin_configure_enter_user(const struct device *port, gpio_pin_t pin, + gpio_flags_t flags) {} -:489771: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489771: FILE: subsys/tracing/user/tracing_user.c:34: +void __weak sys_trace_gpio_pin_configure_exit_user(const struct device *port, gpio_pin_t pin, + int ret) {} -:489773: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489773: FILE: subsys/tracing/user/tracing_user.c:36: +void __weak sys_trace_gpio_port_get_direction_enter_user(const struct device *port, + gpio_port_pins_t map, + gpio_port_pins_t inputs, + gpio_port_pins_t outputs) {} -:489778: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489778: FILE: subsys/tracing/user/tracing_user.c:41: +void __weak sys_trace_gpio_pin_get_config_enter_user(const struct device *port, gpio_pin_t pin, + int ret) {} -:489780: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489780: FILE: subsys/tracing/user/tracing_user.c:43: +void __weak sys_trace_gpio_pin_get_config_exit_user(const struct device *port, gpio_pin_t pin, + int ret) {} -:489782: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489782: FILE: subsys/tracing/user/tracing_user.c:45: +void __weak sys_trace_gpio_port_get_raw_enter_user(const struct device *port, + gpio_port_value_t *value) {} -:489785: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489785: FILE: subsys/tracing/user/tracing_user.c:48: +void __weak sys_trace_gpio_port_set_masked_raw_enter_user(const struct device *port, + gpio_port_pins_t mask, + gpio_port_value_t value) {} -:489789: ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #489789: FILE: subsys/tracing/user/tracing_user.c:52: +void __weak sys_trace_gpio_port_set_bits_raw_enter_user(const struct device *port, + gpio_port_pins_t pins) {} -:489792: ERROR:OPEN_BRACE: open brace '{' following function definitions go on
Run compliance checks on patch series (PR): GitDiffCheck.txt#L1
Git conflict markers and whitespace errors are not allowed in added changes 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:2: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:5: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:10: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:11: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:12: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:13: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:14: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:15: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:16: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:17: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:18: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:19: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:20: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:21: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:22: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:23: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:24: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:25: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:26: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:27: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:28: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:29: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:30: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:33: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:34: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:35: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:36: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:37: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:42: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:43: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: tests/bluetooth/qualification/ICS_Zephyr_Bluetooth_Host.bqw:44: trailing whitespace. 49a458e5aa3be72be01d438bfe9965f71f65e06b: 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 fc2bdf558c: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "nano_33_ble - Default the Power pin to on" 5: UC4 Commit message body line exceeds max length (104>75): "Note: wondering if the led defines in some of the dtsi files should be renamed from user to PWR to match" 6: UC4 Commit message body line exceeds max length (106>75): "what is shown in the pinout for these boards. But maybe used elsewhere for USER, like maybe maybe python?" Commit 5c07c6121b: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys or treewide): "Update arduino_nano_r3_connector.dtsi for pins 7,8,18,19,21" 44: UC4 Commit message body line exceeds max length (95>75): "Where you can type in a pin number and then jumper that pin to D13 and it should blink the LED." 45: UC4 Commit message body line exceeds max length (100>75): "Fixed it for most of these pins, although 18 and 19 have issue with not blinking as zephyr has those" Commit a75d285e6e: 1: UC2 Commit message does not contain a 'Signed-off-by:' line Commit 558dd0aaa9: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing Commit 4878c5c0d2: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing Commit 659c62ffd7: 1: UC2 Commit message does not contain a 'Signed-off-by:' line 1: UC6 Commit message body is empty, should at least have 1 line(s). 3: B6 Body message is missing
Run compliance checks on patch series (PR): Identity.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines for more details fc2bdf558c727fc96859b9aa0e13df9f126f5af5: author email (kurte <kurte@rockisland.com>) needs to match one of the signed-off-by entries. fc2bdf558c727fc96859b9aa0e13df9f126f5af5: author email (kurte <kurte@rockisland.com>) does not follow the syntax: First Last <email>. 5c07c6121b50b84026c01d0f7e96bd8100547d11: author email (kurte <kurte@rockisland.com>) needs to match one of the signed-off-by entries. 5c07c6121b50b84026c01d0f7e96bd8100547d11: author email (kurte <kurte@rockisland.com>) does not follow the syntax: First Last <email>. a75d285e6e7d1f866490752f7c45013b99788e12: author email (Martino Facchin <m.facchin@arduino.cc>) needs to match one of the signed-off-by entries. 558dd0aaa9c8be554859304ccfdb1f5e54ddbbb0: author email (Martino Facchin <m.facchin@arduino.cc>) needs to match one of the signed-off-by entries. 4878c5c0d246a7ffd3bb7ba1d6a1ef7e93d3d7ce: author email (Martino Facchin <m.facchin@arduino.cc>) needs to match one of the signed-off-by entries. 659c62ffd7fc6502248e05531f089094668da491: author email (Martino Facchin <m.facchin@arduino.cc>) 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 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_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 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_ELF' in module 'conftest' (no-name-in-module) File:scripts/west_commands/tests/test_xsdb.py Line:9 Column:0 R0801: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: Dev
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)
Process completed with exit code 1.
Python lint error (I001) see https://docs.astral.sh/ruff/rules/unsorted-imports: tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py#L4
tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py:4 Import block is un-sorted or un-formatted
Python lint error (E402) see https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file: tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py#L14
tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py:14 Module level import not at top of file
Python lint error (E501) see https://docs.astral.sh/ruff/rules/line-too-long: tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py#L67
tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py:67 Line too long (104 > 100)
Python format error: tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py#L1
tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py Run 'ruff format tests/lib/devicetree/memory_region_flags/pytest/test_memory_region_flags.py'
E0611: doc/develop/test/twister/sample_blackbox_test.py#L13
doc/develop/test/twister/sample_blackbox_test.py:13 No name 'TEST_DATA' in module 'conftest' (no-name-in-module)
E0611: doc/develop/test/twister/sample_blackbox_test.py#L13
doc/develop/test/twister/sample_blackbox_test.py:13 No name 'ZEPHYR_BASE' in module 'conftest' (no-name-in-module)
E0611: doc/develop/test/twister/sample_blackbox_test.py#L13
doc/develop/test/twister/sample_blackbox_test.py:13 No name 'testsuite_filename_mock' in module 'conftest' (no-name-in-module)
E0611: scripts/generate_usb_vif/constants/xml_constants.py#L8
scripts/generate_usb_vif/constants/xml_constants.py:8 No name 'other_constants' in module 'constants' (no-name-in-module)
E0611: scripts/generate_usb_vif/constants/xml_constants.py#L8
scripts/generate_usb_vif/constants/xml_constants.py:8 No name 'vif_element_constants' in module 'constants' (no-name-in-module)
E0611: scripts/tests/twister/test_harness.py#L17
scripts/tests/twister/test_harness.py:17 No name 'ZEPHYR_BASE' in module 'conftest' (no-name-in-module)
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/subsys/logging/dictionary/pytest/test_logging_dictionary.py#L1
tests/subsys/logging/dictionary/pytest/test_logging_dictionary.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" # nrf54h20 prints immediately after it is flashed. # Wait a bit to skipp logs from previous test. (duplicate-code)

Artifacts

Produced during runtime
Name Size Digest
compliance.xml Expired
71.3 KB
sha256:d667188a86e53d6354a247c1289a4a4d9ead56e44ec9abc72a341f52e457d5c7