mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 10:30:58 +02:00
fix(system): fixed wrong CPU_LOCKUP reset reason value
This commit is contained in:
@@ -100,7 +100,8 @@ typedef enum {
|
|||||||
USB_UART_CHIP_RESET = 21, /**<21, usb uart reset digital core (hp system)*/
|
USB_UART_CHIP_RESET = 21, /**<21, usb uart reset digital core (hp system)*/
|
||||||
USB_JTAG_CHIP_RESET = 22, /**<22, usb jtag reset digital core (hp system)*/
|
USB_JTAG_CHIP_RESET = 22, /**<22, usb jtag reset digital core (hp system)*/
|
||||||
JTAG_RESET = 24, /**<24, jtag reset CPU*/
|
JTAG_RESET = 24, /**<24, jtag reset CPU*/
|
||||||
CPU_LOCKUP_RESET = 25, /**<25, cpu lockup reset*/
|
RTC_PWR_GLITCH_RESET = 25, /**<25, RTC power glitch reset system*/
|
||||||
|
CPU_LOCKUP_RESET = 26, /**<26, cpu lockup reset*/
|
||||||
} RESET_REASON;
|
} RESET_REASON;
|
||||||
|
|
||||||
// Check if the reset reason defined in ROM is compatible with soc/reset_reasons.h
|
// Check if the reset reason defined in ROM is compatible with soc/reset_reasons.h
|
||||||
|
@@ -46,7 +46,7 @@ typedef enum {
|
|||||||
RESET_REASON_CORE_USB_UART = 0x15, // USB UART resets the digital core (hp system)
|
RESET_REASON_CORE_USB_UART = 0x15, // USB UART resets the digital core (hp system)
|
||||||
RESET_REASON_CORE_USB_JTAG = 0x16, // USB JTAG resets the digital core (hp system)
|
RESET_REASON_CORE_USB_JTAG = 0x16, // USB JTAG resets the digital core (hp system)
|
||||||
RESET_REASON_CPU0_JTAG = 0x18, // JTAG resets the CPU 0
|
RESET_REASON_CPU0_JTAG = 0x18, // JTAG resets the CPU 0
|
||||||
RESET_REASON_CPU_LOCKUP = 0x19, // Triggered when the CPU enters lockup (exception inside the exception handler would cause this)
|
RESET_REASON_CPU_LOCKUP = 0x1A, // Triggered when the CPU enters lockup (exception inside the exception handler would cause this)
|
||||||
} soc_reset_reason_t;
|
} soc_reset_reason_t;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Reference in New Issue
Block a user