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-14 10:11:10 +08:00
parent 53fef80656
commit a6cce532f5
6 changed files with 69 additions and 7 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