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.4.2.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

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

esp_idf_panic_decoder-1.4.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_idf_panic_decoder-1.4.2.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for esp_idf_panic_decoder-1.4.2.tar.gz
Algorithm Hash digest
SHA256 c239369542127a2a71c3b08320e4504f12920b64005b472362a33ec24064f7f5
MD5 8609835ef174bd4f2564a0d5251901df
BLAKE2b-256 6f81d871e711cca394b54d201d27c1429c0a155c01138f4a33be14b335d61b3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for esp_idf_panic_decoder-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01feb4cff579e08e8dd1756160ca1f1e634576b8fc6b8e78a7bbf9e66294c34b
MD5 a1f089a7dca408c8853cac099cff68dc
BLAKE2b-256 101a33dc3a4c78bbe2f1f9c5ec879a146ee3a39cfe5ab16b411e052a6f05469b

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