feat(coredump): save isr context to coredump elf file

This commit is contained in:
Erhan Kurubas
2023-11-15 21:13:51 +01:00
parent 38ee8c6373
commit a7bbf0d3aa
4 changed files with 12 additions and 4 deletions
@@ -40,8 +40,10 @@ uint16_t esp_core_dump_get_arch_id(void);
*
* @param info Pointer to the panic information. It contains the execution
* frame.
* @param isr_context A flag indicating whether the crash happened within an ISR context.
* Set to 1 if the crash occurred in an ISR, and 0 otherwise.
*/
void esp_core_dump_port_init(panic_info_t *info);
void esp_core_dump_port_init(panic_info_t *info, bool isr_context);
/**
* @brief Reset fake stacks allocator, if any.