11#ifdef SUPPORT_CRASH_DATA_RAM
12#define CRASH_MAX_CALL_STACK 64
16 uint8_t save_after_reboot;
26#if CONFIG_DFX_SUPPORT_FILE_SYSTEM == DFX_YES
31int32_t crash_data_write(
const char *path, uint32_t offset,
const uint8_t *buf, uint32_t size);
43void crash_data_clear(
void);
45void crash_data_set_save_after_reboot(
void);
47void crash_data_set_time_s(
void);
50void crash_data_set_exc_info_save(
exc_info_save_t *exc_info_save, uint16_t stack_size);
#define EXC_STACK_INFO_SIZE
Definition exception_riscv.c:82
uint32_t errcode_t
Definition of error code.
Definition errcode.h:30
void panic(panic_id_t source, uint32_t code)
Enter into infinite loop so that a debugger can break in and see the stack trace
Definition panic_rom.c:44
Definition exception.h:195
Definition exception.h:99
Definition plat_exception_rst.h:181