/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/ |
D | hardware_adapter_test.py | 21 device_config = DeviceConfig( 29 return HardwareAdapter(device_config) 40 device.device_config.build_dir = Path('build') 48 device.device_config.build_dir = Path('build') 49 device.device_config.runner = 'pyocd' 59 device.device_config.build_dir = Path('build') 60 device.device_config.runner = 'nrfjprog' 70 device.device_config.build_dir = Path('build') 71 device.device_config.runner = 'openocd' 72 device.device_config.product = 'STM32 STLink' [all …]
|
D | qemu_adapter_test.py | 30 device.device_config.app_build_dir = Path('build_dir') 36 fifo_file_path = str(device.device_config.build_dir / 'qemu-fifo')
|
D | binary_adapter_test.py | 201 assert device.command == [str(device.device_config.build_dir / 'zephyr' / 'zephyr.exe')]
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/ |
D | hardware_adapter.py | 31 def __init__(self, device_config: DeviceConfig) -> None: 32 super().__init__(device_config) 33 self._flashing_timeout: float = device_config.flash_timeout 38 self.device_log_path: Path = device_config.build_dir / 'device.log' 47 '--build-dir', str(self.device_config.build_dir), 51 if self.device_config.west_flash_extra_args: 52 command_extra_args.extend(self.device_config.west_flash_extra_args) 54 if self.device_config.runner: 67 runner = self.device_config.runner 69 if self.device_config.runner_params: [all …]
|
D | binary_adapter.py | 20 def __init__(self, device_config: DeviceConfig) -> None: 24 super().__init__(device_config) 31 'cwd': device_config.app_build_dir, 122 self.command = [str(self.device_config.app_build_dir / 'zephyr' / 'zephyr.exe')] 130 self.command = [str(self.device_config.app_build_dir / 'testbinary')] 136 … self.command = [self.west, 'build', '-d', str(self.device_config.app_build_dir), '-t', 'run']
|
D | qemu_adapter.py | 19 def __init__(self, device_config: DeviceConfig) -> None: 20 super().__init__(device_config) 21 qemu_fifo_file_path = self.device_config.build_dir / 'qemu-fifo' 26 … self.command = [self.west, 'build', '-d', str(self.device_config.app_build_dir), '-t', 'run']
|
D | device_adapter.py | 35 def __init__(self, device_config: DeviceConfig) -> None: 39 self.device_config: DeviceConfig = device_config 40 self.base_timeout: float = device_config.base_timeout 48 self.handler_log_path: Path = device_config.build_dir / 'handler.log' 70 if self.device_config.extra_test_args: 71 self.command.extend(self.device_config.extra_test_args.split()) 73 if self.device_config.type != 'hardware': 83 if self.device_config.flash_before:
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/ |
D | fixtures.py | 32 device_config: DeviceConfig = twister_harness_config.devices[0] 33 device_type = device_config.type 35 device_object = device_class(device_config) 72 if prompt := find_in_config(Path(dut.device_config.app_build_dir) / 'zephyr' / '.config', 78 if dut.device_config.type == 'hardware': 94 yield MCUmgr.create_for_serial(dut.device_config.serial)
|
/Zephyr-latest/tests/boot/with_mcumgr/pytest/ |
D | test_upgrade.py | 59 image_to_test = create_signed_image(dut.device_config.build_dir, 60 dut.device_config.app_build_dir, new_version) 109 Path(dut.device_config.app_build_dir) / 'zephyr' / '.config', 114 image_to_test = create_signed_image(dut.device_config.build_dir, 115 dut.device_config.app_build_dir, new_version) 171 Path(dut.device_config.build_dir) / 'mcuboot' / 'zephyr' / '.config', 177 image_to_test = Path(dut.device_config.build_dir) / 'test_invalid_key.bin' 180 image_to_test = Path(dut.device_config.build_dir) / 'test_no_key.bin' 184 build_dir=Path(dut.device_config.app_build_dir),
|
D | test_downgrade_prevention.py | 31 Path(dut.device_config.app_build_dir) / 'zephyr' / '.config', 38 image_to_test = create_signed_image(dut.device_config.build_dir, 39 dut.device_config.app_build_dir, '0.0.0+0')
|
/Zephyr-latest/tests/misc/llext-edk/pytest/ |
D | test_edk.py | 29 unlaunched_dut.device_config.platform, 33 unlaunched_dut.device_config.build_dir, 42 edk_path = Path(unlaunched_dut.device_config.build_dir) / "zephyr/llext-edk.tar.xz" 91 unlaunched_dut.device_config.platform, 93 unlaunched_dut.device_config.build_dir,
|
/Zephyr-latest/tests/lib/devicetree/memory_region_flags/pytest/ |
D | test_memory_region_flags.py | 64 verify_memory_region_flags(dut.device_config.build_dir, "test_region_r", r"\(\s*r\s*\)") 67 …verify_memory_region_flags(dut.device_config.build_dir, "test_region_nrwxail", r"\(\s*!rwxail\s*\)… 70 verify_memory_region_flags(dut.device_config.build_dir, "test_region_no_flags", r"\(\s*rw\s*\)") 73 verify_memory_region_flags(dut.device_config.build_dir, "test_region_none", r"")
|
/Zephyr-latest/drivers/memc/ |
D | memc_mcux_flexspi.h | 50 flexspi_device_config_t *device_config, 65 const flexspi_device_config_t *device_config,
|
D | memc_mcux_flexspi.c | 89 flexspi_device_config_t *device_config, in memc_flexspi_update_clock() argument 120 device_config->flexspiRootClk = freq_hz; in memc_flexspi_update_clock() 121 FLEXSPI_UpdateDllValue(data->base, device_config, port); in memc_flexspi_update_clock() 132 device_config->flexspiRootClk = rate; in memc_flexspi_update_clock() 133 FLEXSPI_UpdateDllValue(data->base, device_config, port); in memc_flexspi_update_clock() 143 const flexspi_device_config_t *device_config, in memc_flexspi_set_device_config() argument 173 data->size[port] = device_config->flashSize * KB(1); in memc_flexspi_set_device_config() 184 memcpy(&tmp_config, device_config, sizeof(tmp_config)); in memc_flexspi_set_device_config()
|
/Zephyr-latest/samples/boards/nordic/coresight_stm/pytest/ |
D | test_stm.py | 112 UART_PATH = dut.device_config.serial 113 UART_BAUDRATE = dut.device_config.baud 122 BUILD_DIR = str(dut.device_config.build_dir) 160 BUILD_DIR = str(dut.device_config.build_dir) 209 BUILD_DIR = str(dut.device_config.build_dir)
|
/Zephyr-latest/tests/boards/nrf/coresight_stm/pytest/ |
D | test_stm.py | 134 UART_PATH = dut.device_config.serial 135 UART_BAUDRATE = dut.device_config.baud 144 BUILD_DIR = str(dut.device_config.build_dir) 182 BUILD_DIR = str(dut.device_config.build_dir) 263 BUILD_DIR = str(dut.device_config.build_dir)
|
/Zephyr-latest/tests/drivers/can/host/pytest/ |
D | conftest.py | 30 for fixture in dut.device_config.fixtures:
|
/Zephyr-latest/tests/subsys/debug/gdbstub/pytest/ |
D | test_gdbstub.py | 22 build_dir = dut.device_config.build_dir
|
/Zephyr-latest/tests/subsys/logging/dictionary/pytest/ |
D | test_logging_dictionary.py | 157 build_dir = dut.device_config.app_build_dir
|
/Zephyr-latest/tests/subsys/usb/device/src/ |
D | main.c | 81 USBD_DEFINE_CFG_DATA(device_config) = {
|
/Zephyr-latest/doc/develop/test/ |
D | pytest.rst | 290 device_type: str = dut.device_config.type
|