esp32/panichandler: Print support information on panic.

When a fatal error occurs it's important to know which precise version it
occurred on in order to be able to decode the crash dump information such
as the backtrace.

By wrapping around the built-in IDF panic handler we can print some extra
information whenever a fatal error occurs.  The message links to a new wiki
page which contains additional information on how to debug ESP32 issues,
and links to the bug reporting issue template.

Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
This commit is contained in:
Daniël van de Giessen
2024-03-13 18:23:17 +01:00
committed by Damien George
parent a0d4fdcce0
commit c10a74b162
3 changed files with 72 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ list(APPEND MICROPY_SOURCE_DRIVERS
)
list(APPEND MICROPY_SOURCE_PORT
panichandler.c
adc.c
main.c
ppp_set_auth.c