Lines Matching +full:platform +full:- +full:schema
5 # SPDX-License-Identifier: Apache-2.0
9 import platform
30 print("Install tabulate python module with pip to use --device-testing option.")
41 platform=None, argument
57 self.platform = platform
130 return f"<{self.platform} ({self.product}) on {self.serial}>"
133 schema_path = os.path.join(ZEPHYR_BASE, "scripts", "schemas", "twister", "hwmap-schema.yaml")
155 'DAPLink CMSIS-DAP',
156 'MBED CMSIS-DAP'
159 'J-Link',
160 'J-Link OB'
163 'STM32 STLink', '^XDS110.*', 'STLINK-V3'
166 'TTL232R-3V3',
192 if not self.options.platform:
193 self.options.platform = []
195 if d.connected and d.platform != 'unknown':
196 self.options.platform.append(d.platform)
200 self.options.platform[0],
211 self.options.platform[0],
231 if d.connected and d.platform in selected_platforms:
232 row = [d.platform, d.id, d.counter, d.failures]
240 platform, argument
249 platform=platform,
280 platform = dut.get('platform')
281 if isinstance(platform, str):
282 platforms = platform.split()
283 elif isinstance(platform, list):
284 platforms = platform
286 raise ValueError(f"Invalid platform value: {platform}")
298 new_dut = DUT(platform=plat,
321 if persistent and platform.system() == 'Linux':
322 # On Linux, /dev/serial/by-id provides symlinks to
327 # to '/dev/serial/by-id/usb-...' symlinks. The symlinks
334 by_id = Path('/dev/serial/by-id')
362 s_dev = DUT(platform="unknown",
433 platform = _connected.platform
439 'platform': platform,
465 header = ["Platform", "ID", "Serial device"]
467 platform = p.platform
469 if filtered and platform not in filtered:
473 table.append([platform, p.id, p.serial])