Lines Matching refs:options
173 self.options = env.options
177 if self.options.generate_hardware_map:
178 self.scan(persistent=self.options.persistent_hardware_map)
179 self.save(self.options.generate_hardware_map)
182 if not self.options.device_testing and self.options.hardware_map:
183 self.load(self.options.hardware_map)
188 if self.options.device_testing:
189 if self.options.hardware_map:
190 self.load(self.options.hardware_map)
191 if not self.options.platform:
192 self.options.platform = []
195 self.options.platform.append(d.platform)
197 elif self.options.device_serial:
198 self.add_device(self.options.device_serial,
199 self.options.platform[0],
200 self.options.pre_script,
202 baud=self.options.device_serial_baud,
203 flash_timeout=self.options.device_flash_timeout,
204 flash_with_test=self.options.device_flash_with_test,
205 flash_before=self.options.flash_before,
208 elif self.options.device_serial_pty:
209 self.add_device(self.options.device_serial_pty,
210 self.options.platform[0],
211 self.options.pre_script,
213 flash_timeout=self.options.device_flash_timeout,
214 flash_with_test=self.options.device_flash_with_test,
215 flash_before=self.options.flash_before,
219 if self.options.fixture:
221 d.fixtures.extend(self.options.fixture)
271 flash_timeout = dut.get('flash_timeout') or self.options.device_flash_timeout
274 flash_with_test = self.options.device_flash_with_test
278 flash_before = self.options.flash_before and (not flash_with_test)