Lines Matching full:args
125 def _call_esptool(self, args, out=None): argument
134 esptool_args += args
239 parser.add_argument('--esptool-args', help='additional main arguments for esptool', nargs='+')
240 …parser.add_argument('--esptool-write-args', help='additional subcommand arguments when writing to …
241 …parser.add_argument('--esptool-read-args', help='additional subcommand arguments when reading flas…
242 …parser.add_argument('--esptool-erase-args', help='additional subcommand arguments when erasing reg…
285 args = parser.parse_args()
286 quiet = args.quiet
289 if args.operation is None:
295 if args.partition_name:
296 partition_id = PartitionName(args.partition_name)
297 elif args.partition_type:
298 if not args.partition_subtype:
300 …partition_id = PartitionType(args.partition_type, args.partition_subtype, getattr(args, 'part_list…
301 elif args.partition_boot_default:
310 if args.port:
311 target_args['port'] = args.port
313 if args.baud:
314 target_args['baud'] = args.baud
316 if args.partition_table_file:
317 target_args['partition_table_file'] = args.partition_table_file
319 if args.partition_table_offset:
320 target_args['partition_table_offset'] = int(args.partition_table_offset, 0)
322 if args.esptool_args:
323 target_args['esptool_args'] = args.esptool_args
325 if args.esptool_write_args:
326 target_args['esptool_write_args'] = args.esptool_write_args
328 if args.esptool_read_args:
329 target_args['esptool_read_args'] = args.esptool_read_args
331 if args.esptool_erase_args:
332 target_args['esptool_erase_args'] = args.esptool_erase_args
345 (op, op_args) = parttool_ops[args.operation]
348 common_args.update({op_arg:vars(args)[op_arg]})