in the folder where I run the command
- I copied exe/dll
- I copied the scripts folder from the archive
- I copied both cfg files
I get Debug Adapter has to be specified
$ ./openocd.exe -c "program ./build/MyProcessor.elf verify reset exit" -f ./ocd/interface/stlink.cfg -f ./ocd/target/stm32h7x.cfg -s ./ocd
xPack Open On-Chip Debugger 0.12.0+dev-01312-g18281b0c4-dirty (2023-09-04-22:32)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Error: Debug Adapter has to be specified, see "adapter driver" command
** OpenOCD init failed **
shutdown command invoked