Lines Matching refs:args
119 def post_debug(action, ctx, args, **kwargs): argument
146 def get_project_desc(args, ctx): argument
147 desc_path = os.path.join(args.build_dir, 'project_description.json')
149 ensure_build_directory(args, ctx.info_name)
154 def openocd(action, ctx, args, openocd_scripts, openocd_commands): argument
165 project_desc = get_project_desc(args, ctx)
177 args = ['openocd'] + shlex.split(openocd_arguments)
181 … process = subprocess.Popen(args, stdout=openocd_out, stderr=subprocess.STDOUT, bufsize=1)
191 def gdbui(action, ctx, args, gdbgui_port, gdbinit, require_openocd): argument
195 project_desc = get_project_desc(args, ctx)
200 create_local_gdbinit(gdbinit, os.path.join(args.build_dir, project_desc['app_elf']))
201 args = ['gdbgui', '-g', gdb, '--gdb-args="-x={}"'.format(gdbinit)]
203 args += ['--port', gdbgui_port]
207 process = subprocess.Popen(args, stdout=gdbgui_out, stderr=subprocess.STDOUT, bufsize=1)
249 def gdbtui(action, ctx, args, gdbinit, require_openocd): argument
253 gdb(action, ctx, args, 1, gdbinit, require_openocd)
255 def gdb(action, ctx, args, gdb_tui, gdbinit, require_openocd): argument
259 … watch_openocd = Thread(target=_check_openocd_errors, args=(fail_if_openocd_failed, action, ctx, ))
262 desc_path = os.path.join(args.build_dir, 'project_description.json')
264 ensure_build_directory(args, ctx.info_name)
268 elf_file = os.path.join(args.build_dir, project_desc['app_elf'])
276 args = [gdb, '-x={}'.format(gdbinit)]
278 args += ['-tui']
279 t = Thread(target=run_gdb, args=(args, ))