Skip to main content

Python interface library for OpenOCD

Project description

openocd

Python interface library for OpenOCD.

Dependencies

  • Python >= 3.10
  • typing_extensions >= 4.5.0

Installation

Prerequisites:

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:

Liberapay donation link

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

openocd-0.5.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openocd-0.5.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file openocd-0.5.0.tar.gz.

File metadata

  • Download URL: openocd-0.5.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for openocd-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f197c11a275ce7af39afdde4af6c47fc1b51d0e49133a0b9e496c4f7d8dc5ce1
MD5 46fcc51ceaa47e4c3b39a032a9a79f47
BLAKE2b-256 8eca46cfa4e9438557658dacef4153255c31302504973edff124f348940eaa64

See more details on using hashes here.

File details

Details for the file openocd-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: openocd-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for openocd-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 daad3ca0501d3cace61663863283145f3b35d83031b05a4825104f052c2e13c7
MD5 e2acdf3e24124d28bc4c2b2049da062d
BLAKE2b-256 12dce84f7d2d7b650947b1e32b10c8e8989ac2157a0b9de90c954412111adbe0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page