summaryrefslogtreecommitdiff
path: root/docs/esp32
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2025-06-01 18:54:37 +0200
committerDamien George <damien@micropython.org>2025-06-04 22:35:39 +1000
commite4c0e2b73d0e8842160c86a39706d872ec226b6c (patch)
treeff2ef66182d9088c187d9825a792a57459713063 /docs/esp32
parent4227654d4294b778b2bbba8a3b735882786b1d2d (diff)
esp8266/main: Print error information on crash-induced reboots.
This commit adds an optional configuration option for the ESP8266 port that, if the board rebooted due to a crash, will print to stdout some information about the error that triggered the issue. It is not possible using regular SDK functions to intercept errors and print information at that stage, and the only error response from the board is to reboot itself. This is the next best thing, print some error information just once at boot time after the crash - the least invasive option given the situation we're in. This is disabled by default, and can be enabled by enabling MICROPY_HW_HARD_FAULT_DEBUG in the port configuration - obviously with a small increase in the firmware code footprint. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions