Lines Matching refs:targets
60 targets = []
99 targets = subprocess.check_output(f"{cls.hdc_exe} list targets".split()).split()
101 targets = [b"failed to auto detect device"]
102 cls.targets = [targets[0].decode()]
104 cls.targets = [t.decode() for t in targets]
112 if len(cls.targets) > 1:
114 for i, t in enumerate(cls.targets):
117 cls.device_name = cls.targets[int(input()) - 1]
119 cls.device_name = cls.targets[0]
200 if opt := input(f"Default device name? [{cls.device_name}], opts: {cls.targets}\n").strip():
407 cmd = f"{GP.hdc_head} list targets"