Options (3)
-f, --filebooleanAttach OpenOCD session to a board with a configuration file
Example:
openocd {{[-f|--file]}} {{config_file.cfg}}-c, --commandbooleanAttach OpenOCD session to a board with configuration files and a list of commands to be executed on server startup
Example:
openocd {{[-f|--file]}} {{config_file.cfg}} {{[-c|--command]}} "{{command}}"-s, --searchbooleanUse configuration files in the specified path
Example:
openocd {{[-s|--search]}} {{path/to/search}} {{[-f|--file]}} {{config_file.cfg}}Examples (6)
Attach OpenOCD session to a board with a configuration file
openocd [-f|--file] config_file.cfgAttach OpenOCD session to a board with multiple configuration files
openocd [-f|--file] config_file1.cfg [-f|--file] config_file2.cfgAttach OpenOCD session to a board with configuration files and a list of commands to be executed on server startup
openocd [-f|--file] config_file.cfg [-c|--command] "command"Use configuration files in the specified path
openocd [-s|--search] path/to/search [-f|--file] config_file.cfg[Interactive] After OpenOCD startup, connect GDB to OpenOCD default port 3333
target extended-remote localhostList site-wide script library
ls /usr/local/share/openocd/scriptsmade by @shridhargupta | data from tldr-pages