mirror of
https://github.com/esphome/esphome.git
synced 2026-09-20 19:48:39 +00:00
Increase max backtrace depth from 8 to 16
8 frames was cutting off useful call stack information. 16 frames costs an additional 32 bytes of .noinit RAM and covers typical ESPHome call chains which can be 10-12 frames deep.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#endif
|
||||
|
||||
static constexpr uint32_t CRASH_MAGIC = 0xDEADBEEF;
|
||||
static constexpr size_t MAX_BACKTRACE = 8;
|
||||
static constexpr size_t MAX_BACKTRACE = 16;
|
||||
|
||||
// Check if an address looks like code (flash-mapped or IRAM).
|
||||
// Must be safe to call from panic context (no flash access needed).
|
||||
|
||||
Reference in New Issue
Block a user