Skip to main content

ESP-IDF panic decoder

Project description

ESP IDF panic decoder

The esp-idf-panic-decoder is a Python-based, open-source package that is part of the ESP-IDF SDK for Espressif products.

The main part is a script that parses ESP-IDF panic handler output (registers & stack dump), and then acts as a GDB server over stdin/stdout, presenting the information from the panic handler to GDB. This allows for generating backtraces out of raw stack dumps on architectures where backtracing on the target side is not possible.

Contributing

Code Style & Static Analysis

Please follow these coding standards when writing code for esp-idf-panic-decoder:

Pre-commit checks

pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for review.

To use the tool, first install pre-commit. Then enable the pre-commit and commit-msg git hooks:

python -m pip install pre-commit
pre-commit install -t pre-commit -t commit-msg

On the first commit pre-commit will install the hooks, subsequent checks will be significantly faster. If an error is found an appropriate error message will be displayed.

Conventional Commits

esp-idf-panic-decoder complies with the Conventional Commits standard. Every commit message is checked with Conventional Precommit Linter, ensuring it adheres to the standard.

License

This document and the attached source code are released as Free Software under Apache License Version 2. See the accompanying LICENSE file for a copy.

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

esp_idf_panic_decoder-1.2.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

esp_idf_panic_decoder-1.2.1-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file esp_idf_panic_decoder-1.2.1.tar.gz.

File metadata

  • Download URL: esp_idf_panic_decoder-1.2.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for esp_idf_panic_decoder-1.2.1.tar.gz
Algorithm Hash digest
SHA256 842f118deff2323e6ac98f21804aef891e16577842d2f34274241ba0a5d54d82
MD5 1fed6d1ec0c3a76c330f1a9edf7b51dd
BLAKE2b-256 1987e1ece2ef93345c821fd535d46e81eacd98470cb4483b9587b538acff765c

See more details on using hashes here.

File details

Details for the file esp_idf_panic_decoder-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for esp_idf_panic_decoder-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1cef730c7d8f2bbd1d9f3fe7f7b0f73db41efcd8ad155f77acf8490f631bc69
MD5 ab2c7c3d935233552b3cb2eb937ead71
BLAKE2b-256 609a3f14313a65587dfbb78026d510890b022679aea065131398f09a761a4659

See more details on using hashes here.

Supported by

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