Hi all, I just released the first version of a Python package to easily interface OpenOCD via Tcl RPC. The code is based on the contrib Python code (contrib/rpc_examples/ocd_rpc_example.py) but provides more functions, documentation and follows the style guide for Python code ;)
I hope this makes it much easier to work with OpenOCD, especially for automation tasks. I will add more functions in future releases. You can find the Python package here [1] and the source code here [2]. Feel free to submit patches of any kind! Best regards, Marc [1] https://pypi.org/project/openocd/ [2] https://gitlab.zapb.de/openocd/python-openocd