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 Distribution
openocd-0.1.1.tar.gz
(16.5 kB
view hashes)
Built Distributions
openocd-0.1.1-py3.10.egg
(10.1 kB
view hashes)
openocd-0.1.1-py3-none-any.whl
(17.9 kB
view hashes)