mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-04 20:05:25 +02:00
coredump: Fixes ESP-specific panic reasons handling
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
#include "soc/rtc_cntl_reg.h"
|
||||
#endif
|
||||
|
||||
#include "panic_internal.h"
|
||||
#include "esp_private/panic_internal.h"
|
||||
|
||||
extern int _invalid_pc_placeholder;
|
||||
|
||||
@@ -383,6 +383,7 @@ static void frame_to_panic_info(XtExcFrame *frame, panic_info_t *info, bool pseu
|
||||
info->exception = PANIC_EXCEPTION_FAULT;
|
||||
info->details = NULL;
|
||||
|
||||
info->pseudo_excause = pseudo_excause;
|
||||
if (pseudo_excause) {
|
||||
if (frame->exccause == PANIC_RSN_INTWDT_CPU0) {
|
||||
info->core = 0;
|
||||
|
||||
Reference in New Issue
Block a user