ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
coredump.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::zephyr_coredump
 

Typedefs

using esf_t = struct arch_esf
 

Functions

 esphome::zephyr_coredump::ESPHOME_LOG_TAG (TAG, "zephyr_coredump")
 
bool esphome::zephyr_coredump::coredump_pending ()
 Whether a dump from before this boot is waiting to be printed.
 
void esphome::zephyr_coredump::print_coredump ()
 A log reader is present: serial at boot, USB CDC when the port opens, an API or MQTT client subscribing.
 
void esphome::zephyr_coredump::stop_coredump ()
 The reader went away (the USB port was closed); the print stops and the dump stays for the next one.
 
void __real_z_arm_fault (uint32_t msp, uint32_t psp, uint32_t exc_return, _callee_saved_t *callee_regs)
 
void __wrap_z_arm_fault (uint32_t msp, uint32_t psp, uint32_t exc_return, _callee_saved_t *callee_regs)
 
void __real_z_arm_fatal_error (unsigned int reason, const esf_t *esf)
 
void __wrap_z_arm_fatal_error (unsigned int reason, const esf_t *esf)
 

Typedef Documentation

◆ esf_t

typedef z_arch_esf_t esf_t = struct arch_esf

Definition at line 146 of file coredump.cpp.

Function Documentation

◆ __real_z_arm_fatal_error()

void __real_z_arm_fatal_error ( unsigned int reason,
const esf_t * esf )

◆ __real_z_arm_fault()

void __real_z_arm_fault ( uint32_t msp,
uint32_t psp,
uint32_t exc_return,
_callee_saved_t * callee_regs )

◆ __wrap_z_arm_fatal_error()

void __wrap_z_arm_fatal_error ( unsigned int reason,
const esf_t * esf )

Definition at line 166 of file coredump.cpp.

◆ __wrap_z_arm_fault()

void __wrap_z_arm_fault ( uint32_t msp,
uint32_t psp,
uint32_t exc_return,
_callee_saved_t * callee_regs )

Definition at line 157 of file coredump.cpp.