fix(wdt): changed register dump on non panic task WDT to be more descriptive

Closes https://github.com/espressif/esp-idf/issues/14400
This commit is contained in:
Marius Vikhammer
2024-09-25 10:51:47 +08:00
parent 707d097b01
commit 7d8c955e21
6 changed files with 65 additions and 4 deletions
@@ -0,0 +1,30 @@
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "sdkconfig.h"
#if CONFIG_IDF_TARGET_ARCH_XTENSA
#include "xtensa_context.h"
#elif CONFIG_IDF_TARGET_ARCH_RISCV
#include "riscv/rvruntime-frames.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if CONFIG_IDF_TARGET_ARCH_XTENSA
typedef XtExcFrame esp_cpu_frame_t;
#elif CONFIG_IDF_TARGET_ARCH_RISCV
typedef RvExcFrame esp_cpu_frame_t;
#endif
#ifdef __cplusplus
}
#endif