Lines Matching full:args
260 parser.add_argument('--esptool-args', help='additional main arguments for esptool', nargs='+')
261 …parser.add_argument('--esptool-write-args', help='additional subcommand arguments for esptool writ…
262 …parser.add_argument('--esptool-read-args', help='additional subcommand arguments for esptool read_…
263 …parser.add_argument('--esptool-erase-args', help='additional subcommand arguments for esptool eras…
300 args = parser.parse_args()
302 quiet = args.quiet
305 if args.operation is None:
312 if args.port:
313 target_args['port'] = args.port
315 if args.partition_table_file:
316 target_args['partition_table_file'] = args.partition_table_file
318 if args.partition_table_offset:
319 target_args['partition_table_offset'] = int(args.partition_table_offset, 0)
322 if args.spi_flash_sec_size:
323 target_args['spi_flash_sec_size'] = int(args.spi_flash_sec_size, 0)
327 if args.esptool_args:
328 target_args['esptool_args'] = args.esptool_args
330 if args.esptool_write_args:
331 target_args['esptool_write_args'] = args.esptool_write_args
333 if args.esptool_read_args:
334 target_args['esptool_read_args'] = args.esptool_read_args
336 if args.esptool_erase_args:
337 target_args['esptool_erase_args'] = args.esptool_erase_args
339 if args.baud:
340 target_args['baud'] = args.baud
350 if args.name is not None:
353 if args.slot is not None:
367 (op, op_args) = otatool_ops[args.operation]
370 common_args.update({op_arg:vars(args)[op_arg]})