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 Client
with Client() 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.
Metadata
Release files for openocd 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openocd-0.6.0.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openocd-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.9 kB
Release files / openocd-0.6.0.tar.gz
| Download URL | openocd-0.6.0.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c84b68fa57672d0559371fff12bcf28ce3ce21ffa3e468d9b82f89c065fb29e
|
|
BLAKE2b-256 checksum How to use checksums |
01bd5e20aae2dd977cf4de09b359517e4d12615a390dab4a35c621bd792b3783
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|
Release files / openocd-0.6.0-py3-none-any.whl
| Download URL | openocd-0.6.0-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d78b3f24a3e4a22a88d9b3818ffa7e563fb9a5881c095f6eadbe9115e74e8226
|
|
BLAKE2b-256 checksum How to use checksums |
ce02749e1aa94f335d08764f6318823cf185bcd54708eb1d23dd5e49c8dcfd74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|