Lines Matching full:args
18 def _get_project_desc(ctx, args): argument
19 desc_path = os.path.join(args.build_dir, 'project_description.json')
21 ensure_build_directory(args, ctx.info_name)
26 def _get_default_serial_port(args): argument
50 def _get_esptool_args(args): argument
53 if args.port is None:
54 args.port = _get_default_serial_port(args)
59 result += ['-p', args.port]
60 result += ['-b', str(args.baud)]
62 with open(os.path.join(args.build_dir, 'flasher_args.json')) as f:
86 …def monitor(action, ctx, args, print_filter, monitor_baud, encrypted, timestamps, timestamp_format… argument
90 project_desc = _get_project_desc(ctx, args)
91 elf_file = os.path.join(args.build_dir, project_desc['app_elf'])
101 esp_port = args.port or _get_default_serial_port(args)
143 run_tool('idf_monitor', monitor_args, args.project_dir)
145 def flash(action, ctx, args): argument
149 ensure_build_directory(args, ctx.info_name)
150 project_desc = _get_project_desc(ctx, args)
155 esp_port = args.port or _get_default_serial_port(args)
156 run_target(action, args, {'ESPBAUD': str(args.baud), 'ESPPORT': esp_port})
158 def erase_flash(action, ctx, args): argument
159 ensure_build_directory(args, ctx.info_name)
160 esptool_args = _get_esptool_args(args)
162 run_tool('esptool.py', esptool_args, args.build_dir)