Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dhardware_adapter.py30 def __init__(self, device_config: DeviceConfig, **kwargs) -> None:
31 super().__init__(device_config, **kwargs)
51 if self.device_config.pre_script:
52 self.run_custom_script(self.device_config.pre_script, 30)
54 serial_name = self._open_serial_pty() or self.device_config.serial
59 baudrate=self.device_config.baud,
82 if self.device_config.post_script:
83 self.run_custom_script(self.device_config.post_script, 30)
87 if not self.device_config.serial_pty:
92 re.split(',| ', self.device_config.serial_pty),
[all …]
Ddevice_abstract.py21 def __init__(self, device_config: DeviceConfig, **kwargs) -> None:
25 self.device_config: DeviceConfig = device_config
Dsimulator_adapter.py55 def __init__(self, device_config: DeviceConfig, **kwargs) -> None:
59 super().__init__(device_config, **kwargs)
189 self.handler_log_file = HandlerLogFile.create(build_dir=self.device_config.build_dir)
200 str((Path(self.device_config.build_dir) / 'zephyr' / 'zephyr.exe').resolve())
209 self.command = [str((Path(self.device_config.build_dir) / 'testbinary').resolve())]
220 self.command = [west, 'build', '-d', str(self.device_config.build_dir), '-t', 'run']
Dqemu_adapter.py35 def __init__(self, device_config: DeviceConfig, **kwargs) -> None:
36 super().__init__(device_config, **kwargs)
42 … self.connection = FifoHandler(Path(self.device_config.build_dir).joinpath(QEMU_FIFO_FILE_NAME))
53 self.command = [west, 'build', '-d', str(self.device_config.build_dir), '-t', 'run']
197 self.handler_log_file = HandlerLogFile.create(build_dir=self.device_config.build_dir)
/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/tests/device/
Dhardware_adapter_test.py19 device_config = DeviceConfig(
25 return HardwareAdapter(device_config)
39 device.device_config.runner = 'pyocd'
57 device.device_config.runner = 'nrfjprog'
68 device.device_config.runner = 'openocd'
69 device.device_config.product = 'STM32 STLink'
81 device.device_config.runner = 'openocd'
82 device.device_config.product = 'EDBG CMSIS-DAP'
94 device.device_config.runner = 'jlink'
106 device.device_config.runner = 'stm32cubeprogrammer'
[all …]
Dqemu_adapter_test.py94 device.device_config.build_dir = tmp_path
Dsimulator_adapter_test.py30 device.device_config.build_dir = resources
/Zephyr-Core-3.4.0/scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures/
Ddut.py21 device_config: DeviceConfig = twister_harness_config.devices[0]
22 device_type = device_config.type
26 device = device_class(device_config)
/Zephyr-Core-3.4.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.4.0/tests/subsys/usb/device/src/
Dmain.c81 USBD_DEFINE_CFG_DATA(device_config) = {