Python interface library for OpenOCD
Project description
openocd
Python interface library for OpenOCD.
Dependencies
- Python >= 3.6
Installation
Prerequisites:
-
Python 3.6 or higher
-
setuptools
To install this package, run:
python setup.py install
Example
from openocd import OpenOcd
with OpenOcd() as oocd:
oocd.halt()
registers = oocd.read_registers(['pc', 'sp'])
print('Program counter: 0x%x' % registers['pc'])
print('Stack pointer: 0x%x' % registers['sp'])
oocd.resume()
License
This project is licensed under the GPLv3+ - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
openocd-0.1.2-py3-none-any.whl
(18.0 kB
view hashes)