11 Commits

Author SHA1 Message Date
Ivan Kravets a5a9bf43cc Use correct import 2023-06-21 16:30:13 +03:00
Daan Steenbergen 98046b6d4d Allow uppercase registers in exception decoder (#1020)
It now also successfully handles backtraces where the register has upper case letters
2023-02-03 15:15:11 +02:00
Mitch Bradley 6b942d9a45 Better fix for esp32_exception_decoder missing space (#831)
Recent versions of ESP-IDF have a bug in which the Backtrace: line is
malformed.

Old/Good: Backtrace: 0xN:0xM 0xN:0xM 0xN:0xM ...
New/Bad:  Backtrace:0xN:0xM0xN:0xM 0xN:0xM ...

I issued https://github.com/espressif/esp-idf/pull/9138 against
ESP-IDF to fix the underlying problem, but it is unclear when or if
that PR will be accepted, especially since the monitor program in
ESP-IDF is immune to the problem.

By using a decoding technique similar to the one in ESP-IDF's monitor,
either backtrace format can be accepted.

Supersedes #687 , which does not quite work, in that it misses one of
the entries.
2022-06-16 11:54:00 +03:00
Ivan Kravets b1b44fe902 Add compatibility with PIO Core 6.0 2022-05-27 18:52:15 +03:00
Ivan Kravets a4957d0d3a Drop Python 2 2022-04-13 12:52:54 +03:00
Vojtěch Boček b331f75383 Esp32ExceptionDecoder: support uppercase hex addresses in backtrace (#582) 2021-07-09 15:30:24 +03:00
Vojtěch Boček 3bd42d6ee1 Esp32ExceptionDecoder: fix compatibility with esp-idf master (#324) 2020-04-28 14:41:41 +03:00
Vojtěch Boček d5d759eacb Esp32ExceptionDecoder: fix compatibility with ESP-IDF 4.0 (#304)
* It adds |<-CORRUPTED at the end of the backtrace
2020-03-21 12:09:59 +02:00
Vojtěch Boček 2f3879724b Esp32ExceptionDecoder: fix crash on Windows with Python <3;3.7> (#303) 2020-03-16 23:44:40 +02:00
Ivan Kravets 16d588256e Notify about debug configuration for exception decoding 2020-03-12 14:09:23 +02:00
Vojtěch Boček 2ef483cbe1 Add esp_exception_decoder filter for device monitor (#286)
* Add esp_exception_decoder filter for device monitor

This filter resolves the ESP backtraces as they come into the
device monitor. Add --filter=esp_exception_decoder to monitor_flags
to use it.

* EspExceptionDecoder: fixes for Windows and Python2

* EspExceptionDecoder: rename to Esp32ExceptionDecoder

* Esp32ExceptionDecoder: handle inlined addresses nicely

* Esp32ExceptionDecore: fix pylint errors
2020-03-12 13:53:43 +02:00