panic_reason.h 375 B

12345678910111213
  1. /*
  2. * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #include "soc/soc.h"
  8. /* Since riscv does not replace mcause with "pseudo_reason" as it xtensa does
  9. * PANIC_RSN_* defined with original interrupt numbers to make it work in
  10. * common code
  11. */
  12. #define PANIC_RSN_INTWDT_CPU0 ETS_INT_WDT_INUM