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

Uploaded Source

Built Distribution

esp_idf_panic_decoder-0.1.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_idf_panic_decoder-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 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-0.1.0.tar.gz
Algorithm Hash digest
SHA256 41f419cb7f506fa18fe0c07a5838529ae1ffe763a28b0a11337d3eed7c150e97
MD5 d1710878bff05f0f0fd6abaee07fa439
BLAKE2b-256 a4bfaa0ec9837be83491f29b7ecbe0d09923a781060ddaf7126e875defc36015

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for esp_idf_panic_decoder-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d22e4fef6f6bc6367ca2e5ca9e540d46e7d15026fcd40dbe8aaf5da6408a777
MD5 c5eb5c6a0413347353c4b92c011d8ccd
BLAKE2b-256 df963e8e4df90f384a7e3b34c1910bc11e21711614f219d93873193629173187

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