|
| void | __real_bk_trap_udef (arm_registers *regs) |
| |
| void | __real_bk_trap_pabt (arm_registers *regs) |
| |
| void | __real_bk_trap_dabt (arm_registers *regs) |
| |
| | esphome::libretiny::ESPHOME_LOG_TAG (TAG, "libretiny.crash") |
| |
| | esphome::libretiny::PROGMEM_STRING_TABLE (CrashReasonStrings, "Unknown", "Undefined instruction", "Prefetch abort", "Data abort", "Hard fault", "MemManage fault", "Bus fault", "Usage fault", "Secure fault", "Abort") |
| |
| | esphome::libretiny::__attribute__ ((section(CRASH_RECORD_SECTION))) static CrashRecord s_record |
| |
| bool | esphome::libretiny::crash_handler_has_data () |
| | Returns true if crash data was found this boot, reading it first if needed.
|
| |
| void | esphome::libretiny::crash_handler_log () |
| | Log crash data if a crash was detected on previous boot.
|
| |
| void | esphome::libretiny::__wrap_bk_trap_udef (arm_registers *regs) |
| |
| void | esphome::libretiny::__wrap_bk_trap_pabt (arm_registers *regs) |
| |
| void | esphome::libretiny::__wrap_bk_trap_dabt (arm_registers *regs) |
| |
| | esphome::libretiny::__attribute__ ((used)) uint32_t esphome_record_fault(const uint32_t *frame |
| |
| | esphome::libretiny::lt_wdt_enable (CRASH_REBOOT_WDT_MS) |
| |
| | esphome::libretiny::if (cfsr &CFSR_BFARVALID) |
| |
| | esphome::libretiny::if (frame_addr >=SRAM_START &&frame_addr<=SRAM_END - frame_words *4 &&(frame_addr &3)==0) |
| |
| | esphome::libretiny::fill_record (vector+CRASH_REASON_CORTEX_M_OFFSET, pc, lr, sp, cfsr, address) |
| |
| | esphome::libretiny::finish_record (sp, SRAM_START, SRAM_END) |
| |
| | esphome::libretiny::__attribute__ ((naked, used)) void esphome_fault_entry() |
| |
| void | esphome::libretiny::crash_handler_install () |
| | Put the crash recorder in front of the SDK's fault handlers.
|
| |
| void | esphome::libretiny::__wrap_abort () |
| |