Home
last modified time | relevance | path

Searched refs:device_config (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py21 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 …]
Dqemu_adapter_test.py30 device.device_config.build_dir = Path('build_dir')
36 fifo_file_path = str(device.device_config.build_dir / 'qemu-fifo')
Dbinary_adapter_test.py201 assert device.command == [str(device.device_config.build_dir / 'zephyr' / 'zephyr.exe')]
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dhardware_adapter.py30 def __init__(self, device_config: DeviceConfig) -> None:
31 super().__init__(device_config)
37 self.device_log_path: Path = device_config.build_dir / 'device.log'
46 '--build-dir', str(self.device_config.build_dir),
50 if self.device_config.west_flash_extra_args:
51 command_extra_args.extend(self.device_config.west_flash_extra_args)
53 if self.device_config.runner:
66 runner = self.device_config.runner
68 if board_id := self.device_config.id:
75 … elif runner == 'openocd' and self.device_config.product in ['STM32 STLink', 'STLINK-V3']:
[all …]
Dqemu_adapter.py19 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.build_dir), '-t', 'run']
Dbinary_adapter.py20 def __init__(self, device_config: DeviceConfig) -> None:
24 super().__init__(device_config)
121 self.command = [str(self.device_config.build_dir / 'zephyr' / 'zephyr.exe')]
129 self.command = [str(self.device_config.build_dir / 'testbinary')]
135 self.command = [self.west, 'build', '-d', str(self.device_config.build_dir), '-t', 'run']
Ddevice_adapter.py30 def __init__(self, device_config: DeviceConfig) -> None:
34 self.device_config: DeviceConfig = device_config
35 self.base_timeout: float = device_config.base_timeout
43 self.handler_log_path: Path = device_config.build_dir / 'handler.log'
/Zephyr-Core-3.5.0/tests/boot/with_mcumgr/pytest/
Dtest_upgrade.py54 Path(dut.device_config.build_dir) / PROJECT_NAME / 'zephyr' / '.config',
61 image_to_test = create_signed_image(dut.device_config.build_dir, new_version)
109 Path(dut.device_config.build_dir) / PROJECT_NAME / 'zephyr' / '.config',
116 image_to_test = create_signed_image(dut.device_config.build_dir, new_version)
171 Path(dut.device_config.build_dir) / 'mcuboot' / 'zephyr' / '.config',
177 image_to_test = image_to_test = Path(dut.device_config.build_dir) / 'test_invalid_key.bin'
180 image_to_test = image_to_test = Path(dut.device_config.build_dir) / 'test_no_key.bin'
184 build_dir=Path(dut.device_config.build_dir) / PROJECT_NAME,
Dtest_downgrade_prevention.py37 Path(dut.device_config.build_dir) / PROJECT_NAME / 'zephyr' / '.config',
44 image_to_test = create_signed_image(dut.device_config.build_dir, '0.0.0+0')
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/
Dfixtures.py29 device_config: DeviceConfig = twister_harness_config.devices[0]
30 device_type = device_config.type
32 device_object = device_class(device_config)
68 yield MCUmgr.create_for_serial(dut.device_config.serial)
/Zephyr-Core-3.5.0/drivers/memc/
Dmemc_mcux_flexspi.h26 flexspi_device_config_t *device_config,
30 const flexspi_device_config_t *device_config,
Dmemc_mcux_flexspi.c82 flexspi_device_config_t *device_config, in memc_flexspi_update_clock() argument
98 device_config->flexspiRootClk = flexspi_clock_get_freq(); in memc_flexspi_update_clock()
99 FLEXSPI_UpdateDllValue(data->base, device_config, port); in memc_flexspi_update_clock()
110 const flexspi_device_config_t *device_config, in memc_flexspi_set_device_config() argument
120 data->size[port] = device_config->flashSize * KB(1); in memc_flexspi_set_device_config()
123 (flexspi_device_config_t *) device_config, in memc_flexspi_set_device_config()
/Zephyr-Core-3.5.0/samples/subsys/debug/gdbstub/pytest/
Dtest_gdbstub.py24 build_dir = dut.device_config.build_dir
/Zephyr-Core-3.5.0/tests/subsys/usb/device/src/
Dmain.c81 USBD_DEFINE_CFG_DATA(device_config) = {