Lines Matching +full:- +full:f
28 with open(file_name, 'r') as f:
29 content = f.read()
49 with open(name, 'r') as f:
50 content = f.read()
54 # expect OpenOCD has started successfully - stop watching
59 # OpenOCD exited or error message detected -> print possible output and terminate
100 with open(gdbinit, 'w') as f:
103 f.write('file {}\n'.format(elf_file))
104 f.write('target remote :3333\n')
105 f.write('mon reset halt\n')
106 f.write('flushregs\n')
107 f.write('thb app_main\n')
108 f.write('c\n')
132 with open(name, 'r') as f:
133 f.seek(pos)
134 for line in f:
136 pos = f.tell()
142 print('Terminated -> exiting debug utility targets')
150 with open(desc_path, 'r') as f:
151 project_desc = json.load(f)
159 'esp32': '-f board/esp32-wrover-kit-3.3v.cfg',
160 'esp32s2': '-f board/esp32s2-kaluga-1.cfg',
169 default_args = '-f interface/ftdi/esp32_devkitj_v1.cfg -f target/{}.cfg'.format(target)
171 …ote: OpenOCD cfg not found (via env variable OPENOCD_COMMANDS nor as a --openocd-commands argument…
175 openocd_arguments += ' -s {}'.format(openocd_scripts)
193 Asynchronous GDB-UI target
201 args = ['gdbgui', '-g', gdb, '--gdb-args="-x={}"'.format(gdbinit)]
203 args += ['--port', gdbgui_port]
232 # Register the meta cleanup callback -> called on FatalError
270 with open(desc_path, 'r') as f:
271 project_desc = json.load(f)
281 args = [gdb, '-x={}'.format(gdbinit)]
283 args += ['-tui']
302 'names': ['--require-openocd', '--require_openocd'],
309 'names': ['--gdbinit'],
321 'names': ['--openocd-scripts', '--openocd_scripts'],
328 'names': ['--openocd-commands', '--openocd_commands'],
341 'names': ['--gdb-tui', '--gdb_tui'],
355 'names': ['--gdbgui-port', '--gdbgui_port'],
370 'post-debug': {
375 'names': ['--block', '--block'],
387 'message': 'Please use "post-debug" instead.',
393 'names': ['--block', '--block'],