2016-08-24 05:21:27 -04:00
|
|
|
#ifndef PANIC_H
|
|
|
|
#define PANIC_H
|
|
|
|
|
2016-10-25 05:05:13 -04:00
|
|
|
|
|
|
|
#define PANIC_RSN_NONE 0
|
|
|
|
#define PANIC_RSN_DEBUGEXCEPTION 1
|
|
|
|
#define PANIC_RSN_DOUBLEEXCEPTION 2
|
|
|
|
#define PANIC_RSN_KERNELEXCEPTION 3
|
|
|
|
#define PANIC_RSN_COPROCEXCEPTION 4
|
2016-10-25 06:08:55 -04:00
|
|
|
#define PANIC_RSN_INTWDT_CPU0 5
|
|
|
|
#define PANIC_RSN_INTWDT_CPU1 6
|
|
|
|
#define PANIC_RSN_MAX 6
|
2016-10-25 05:05:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
|
2016-10-26 00:23:01 -04:00
|
|
|
void esp_set_breakpoint_if_jtag(void *fn);
|
2016-08-24 05:21:27 -04:00
|
|
|
|
2016-10-25 05:05:13 -04:00
|
|
|
#endif
|
2016-08-24 05:21:27 -04:00
|
|
|
|
|
|
|
#endif
|