panic_reason.h 387 B

12345678910111213141516171819
  1. /*
  2. * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. typedef enum {
  8. PANIC_RSN_NONE = 0,
  9. PANIC_RSN_INTWDT_CPU0,
  10. #if SOC_CPU_NUM > 1
  11. PANIC_RSN_INTWDT_CPU1,
  12. #endif
  13. PANIC_RSN_CACHEERR,
  14. #if CONFIG_ESP_SYSTEM_MEMPROT_FEATURE
  15. PANIC_RSN_MEMPROT,
  16. #endif
  17. PANIC_RSN_COUNT
  18. } panic_reasons_t;