2022-01-14 12:05:01 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-10-08 01:18:16 -04:00
|
|
|
#pragma once
|
|
|
|
|
2022-01-14 12:05:01 -05:00
|
|
|
typedef enum {
|
2020-12-27 22:39:25 -05:00
|
|
|
PANIC_RSN_NONE = 0,
|
|
|
|
PANIC_RSN_INTWDT_CPU0,
|
|
|
|
#if SOC_CPU_NUM > 1
|
|
|
|
PANIC_RSN_INTWDT_CPU1,
|
|
|
|
#endif
|
|
|
|
PANIC_RSN_CACHEERR,
|
2021-01-04 13:38:10 -05:00
|
|
|
#if CONFIG_ESP_SYSTEM_MEMPROT_FEATURE
|
|
|
|
PANIC_RSN_MEMPROT,
|
|
|
|
#endif
|
2020-12-27 22:39:25 -05:00
|
|
|
PANIC_RSN_COUNT
|
2022-01-14 12:05:01 -05:00
|
|
|
} panic_reasons_t;
|