Python interface library for OpenOCD
Project description
openocd
Python interface library for OpenOCD.
Dependencies
- Python >= 3.10
- typing_extensions >= 4.5.0
Installation
Prerequisites:
-
Python 3.10 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()
Support
If you appreciate the project, feel free to donate on Liberapay:
License
This project is licensed under the terms of the GNU Lesser General Public License (LGPL) v2.1 or later. See 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openocd-0.4.0.tar.gz.
File metadata
- Download URL: openocd-0.4.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
197dad01b633293779ba8d49e1f0c85788c4a0922eccf1248417ae7d4fd293fe
|
|
| MD5 |
f6983587b0b5bff7b4382e766799f8b0
|
|
| BLAKE2b-256 |
6958123f239900ee3f7509cf3cc58ca784cc5505bec982816cfa6f198c9e6501
|
File details
Details for the file openocd-0.4.0-py3-none-any.whl.
File metadata
- Download URL: openocd-0.4.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00a4ed783916a956de9f3afbfa951d1092434c6fbd682f539fbbf0d640d889a4
|
|
| MD5 |
73585f9d36001ef4c70efa6d355c73ca
|
|
| BLAKE2b-256 |
d67bafa2f9b37ea9ec5ede592284a57599e2034f9b4005b0998e5e61b4ca46fa
|