/Zephyr-latest/tests/ztest/ztest_param/pytest/ |
D | test_parameters.py | 8 lines = shell.exec_command('ztest shuffle -c 1 -s 1') 9 # Join the list of lines into a single string 10 output = '\n'.join(lines) 11 assert "PASS - test_int_param" in output, f"Expected 'PASS - test_int_param' but got {lines}" 12 assert "PASS - test_dummy" in output, f"Expected 'PASS - test_dummy' but got {lines}" 13 …assert "PASS - test_string_param" in output, f"Expected 'PASS - test_string_param' but got {lines}" 16 lines = shell.exec_command('ztest run-testcase ztest_params::test_dummy') 17 # Join the list of lines into a single string 18 output = '\n'.join(lines) 19 assert "PASS - test_dummy" in output, f"Expected 'PASS - test_dummy' but got {lines}" [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/flash_controller/ |
D | xspi.h | 15 /* XSPI mode operating on 1 line, 2 lines, 4 lines or 8 lines */ 18 /* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */ 20 /* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */ 22 /* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
|
D | ospi.h | 17 /* OSPI mode operating on 1 line, 2 lines, 4 lines or 8 lines */ 20 /* 2 Cmd Lines, 2 Address Lines and 2 Data Lines */ 22 /* 4 Cmd Lines, 4 Address Lines and 4 Data Lines */ 24 /* 8 Cmd Lines, 8 Address Lines and 8 Data Lines */
|
/Zephyr-latest/samples/sensor/sensor_shell/pytest/ |
D | test_sensor_shell.py | 14 lines = shell.exec_command('sensor info') 15 assert any(['device name: sensor@0' in line for line in lines]), 'expected response not found' 16 assert any(['device name: sensor@1' in line for line in lines]), 'expected response not found' 24 lines = shell.exec_command('sensor get sensor@0 voltage') 25 … assert any(['channel type=31(voltage)' in line for line in lines]), 'expected response not found' 27 lines = shell.exec_command('sensor get sensor@1 53') 28 …assert any(['channel type=53(gauge_state_of_health)' in line for line in lines]), 'expected respon… 32 lines = shell.exec_command('sensor get sensor@0 gauge_desired_charging_current') 33 …assert any(['channel type=59(gauge_desired_charging_current)' in line for line in lines]), 'expect… 41 lines = shell.exec_command('sensor attr_get sensor@0 co2 sampling_frequency') [all …]
|
/Zephyr-latest/samples/subsys/profiling/perf/pytest/ |
D | test_perf.py | 20 lines = shell.exec_command('perf record 200 99') 21 assert 'Enabled perf' in lines, 'expected response not found' 22 lines = dut.readlines_until(regex='.*Perf done!', print_output=True) 26 lines = shell.exec_command('perf printbuf') 27 lines = lines[1:-1] 28 match = re.match(r"Perf buf length (\d+)", lines[0]) 31 lines = lines[1:] 33 assert length == len(lines), 'length dose not match with count of lines' 37 i += int(lines[i], 16) + 1
|
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/pytest/ |
D | test_magic_addr.py | 18 lines = dut.readlines_until(regex='Magic DTCM address accessed', print_output=True) 19 logger.info(lines) 21 lines = dut.readlines_until(regex='Magic DTCM address accessed', print_output=True) 22 logger.info(lines) 23 ret = any('Magic DTCM address accessed' in line for line in lines)
|
/Zephyr-latest/dts/bindings/interrupt-controller/ |
D | st,stm32-exti.yaml | 17 num-lines: 20 description: Number of lines supported by the interrupt controller. 26 Description of the input lines range for each interrupt line supported 33 Above property provides event-range for 7 lines. 34 5 first lines contain one element
|
D | gd,gd32-exti.yaml | 17 num-lines: 20 description: Number of lines supported by the interrupt controller.
|
D | nxp,pint.yaml | 14 num-lines: 17 description: Number of interrupt lines supported by the interrupt controller.
|
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/samples/pytest/shell/pytest/ |
D | test_shell.py | 14 lines = shell.exec_command('help') 15 assert 'Available commands:' in lines, 'expected response not found' 21 lines = shell.exec_command('kernel version') 22 assert any(['Zephyr version' in line for line in lines]), 'expected response not found'
|
/Zephyr-latest/samples/subsys/testsuite/pytest/shell/pytest/ |
D | test_shell.py | 14 lines = shell.exec_command('help') 15 assert 'Available commands:' in lines, 'expected response not found' 21 lines = shell.exec_command('kernel version') 22 assert any(['Zephyr version' in line for line in lines]), 'expected response not found'
|
/Zephyr-latest/scripts/build/ |
D | gen_device_deps.py | 79 lines = [ 84 lines.append(' * Direct Dependencies:') 86 lines.append(' * - {:s}'.format(dev_path_str(dep))) 88 lines.append(' * Injected Dependencies:') 90 lines.append(' * - {:s}'.format(dev_path_str(dep))) 92 lines.append(' * Supported:') 94 lines.append(' * - {:s}'.format(dev_path_str(sup))) 95 lines.append(' */') 96 return lines 160 lines = c_handle_comment(dev, sorted_handles) [all …]
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/ |
D | test_bootstrap.py | 70 lines = dut.readlines_until(regex='.*Registration Done', timeout=5.0) 71 assert not any("Bootstrap" in line for line in lines) 77 lines = dut.readlines_until(regex='.*Registration Done', timeout=5.0) 78 assert any("Bootstrap" in line for line in lines) 87 lines = dut.readlines_until(regex='.*Registration Done', timeout=600.0) 88 assert any("Bootstrap" in line for line in lines) 98 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 0/0/0 -s')) 99 host = lines[0] 101 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 0/0/2 -u8')) 102 mode = int(lines[0])
|
D | test_blockwise.py | 37 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0) 38 assert len(lines) > 0 39 line = lines[-1] 67 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0) 68 assert len(lines) > 0 69 line = lines[-1] 94 lines = shell.get_filtered_output(shell.exec_command('lwm2m read /19/0/0/0 -crc32')) 95 crc = int(lines[0])
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/ |
D | utils.py | 19 lines = f.readlines() 20 for line in lines: 29 """Check all lines exist in the output""" 35 """Check lines not found in the output"""
|
/Zephyr-latest/dts/bindings/display/ |
D | ftdi,ft800.yaml | 52 description: Number of visible lines of pixels in one frame 57 description: Number of invisible lines at the beginning of a new frame 63 Number of all lines in a frame. It includes all visible and 64 invisible lines at the beginning and at the end of a frame. 70 Number of lines for the high state of signal VSYNC at 77 Number of lines for signal VSYNC toggle takes at the start
|
/Zephyr-latest/dts/bindings/usb/ |
D | usb-bc12.yaml | 18 charging. The USB data lines are active and the 21 charging. The USB data lines are active and the 24 charging. The USB data lines are disabled and the
|
/Zephyr-latest/dts/bindings/flash_controller/ |
D | st,stm32-xspi-nor.yaml | 12 data-mode = <XSPI_OCTO_MODE>; /* access on 8 data lines */ 34 - XSPI_DUAL_MODE <2> = Dual mode on 2 data lines 35 - XSPI_QUAD_MODE <4> = Quad mode on 4 data lines 36 - XSPI_OCTO_MODE <8> = Octo mode on 8 data lines
|
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_prepare_test.py | 42 lines = csv.reader(f) 43 for idx, line in enumerate(lines): # pylint: disable=unused-variable 67 lines = f.readlines() 68 self.assertEqual(len(lines), len(self.data)) 69 self.assertEqual(json.loads(lines[0]), self.data[0]) 70 self.assertEqual(json.loads(lines[-1]), self.data[-1])
|
/Zephyr-latest/scripts/west_commands/zspdx/ |
D | cmakecache.py | 16 lines = f.readlines() 18 # walk through and look for non-comment, non-empty lines 19 for line in lines:
|
/Zephyr-latest/soc/microchip/mec/common/ |
D | soc_i2c.h | 42 * lines b[0]=SCL pin state at pad, b[1]=SDA pin state at pad 43 * Returns 0 success or -EINVAL if port is not support or lines is NULL. 48 int soc_i2c_port_lines_get(uint8_t port, uint32_t *lines);
|
/Zephyr-latest/scripts/profiling/ |
D | stackcollapse.py | 62 lines = inp.splitlines() variable 63 assert int(re.match(r"Perf buf length (\d+)", lines[0]).group(1)) == len(lines) - 1 64 buf = binascii.unhexlify("".join(lines[1:]))
|
/Zephyr-latest/boards/nordic/nrf9160dk/dts/bindings/ |
D | nordic,nrf9160dk-nrf52840-interface.yaml | 25 Before particular lines of this interface can be used, the corresponding 30 - `nrf_interface_pins_0_2_routing` to enable lines 0-2 31 - `nrf_interface_pins_3_5_routing` to enable lines 3-5 32 - `nrf_interface_pins_6_8_routing` to enable lines 6-8
|
/Zephyr-latest/include/zephyr/drivers/console/ |
D | console.h | 38 * @param lines k_fifo queue of entered lines which to be processed 42 typedef void (*console_input_fn)(struct k_fifo *avail, struct k_fifo *lines,
|
D | uart_console.h | 26 * @param lines k_fifo queue of entered lines which to be processed 30 void uart_register_input(struct k_fifo *avail, struct k_fifo *lines,
|