Lines Matching refs:args
174 def serial_write(self, *args, **kwargs): # type: ignore argument
236 def serial_write(self, *args, **kwargs): # type: ignore argument
239 self.serial.write(*args, **kwargs)
267 def serial_write(self, *args, **kwargs): # type: ignore argument
268 self.serial.stdin.write(*args, **kwargs)
276 args = parser.parse_args()
280 if os.name == 'nt' and args.port.startswith('COM'):
281 args.port = args.port.replace('COM', r'\\.\COM')
283 yellow_print('--- Using %s instead...' % args.port)
284 elif args.port.startswith('/dev/tty.') and sys.platform == 'darwin':
285 args.port = args.port.replace('/dev/tty.', '/dev/cu.')
287 yellow_print('--- Using %s instead...' % args.port)
289 args.elf_file.close() # don't need this as a file
302 ws = WebSocketClient(args.ws) if args.ws else None
305 if args.target == 'linux':
310 serial_instance = serial.serial_for_url(args.port, args.baud, do_not_open=True)
317 espport_val = str(args.port)
324 args.elf_file.name,
325 args.print_filter,
326 args.make,
327 args.encrypted,
328 args.toolchain_prefix,
329 args.eol,
330 args.decode_coredumps,
331 args.decode_panic,
332 args.target,
334 not args.disable_address_decoding,
335 args.timestamps,
336 args.timestamp_format)
343 if args.print_filter != DEFAULT_PRINT_FILTER:
344 yellow_print('--- Print filter: {} ---'.format(args.print_filter))