mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
Merge branch 'buxfix/panic_handler_not_halting_cpu' into 'master'
Panic Handler not halting when running on both cores See merge request !903
This commit is contained in:
@ -197,6 +197,7 @@ void panicHandler(XtExcFrame *frame)
|
||||
return;
|
||||
}
|
||||
haltOtherCore();
|
||||
esp_dport_access_int_deinit();
|
||||
panicPutStr("Guru Meditation Error: Core ");
|
||||
panicPutDec(core_id);
|
||||
panicPutStr(" panic'ed (");
|
||||
@ -244,6 +245,7 @@ void panicHandler(XtExcFrame *frame)
|
||||
void xt_unhandled_exception(XtExcFrame *frame)
|
||||
{
|
||||
haltOtherCore();
|
||||
esp_dport_access_int_deinit();
|
||||
if (!abort_called) {
|
||||
panicPutStr("Guru Meditation Error of type ");
|
||||
int exccause = frame->exccause;
|
||||
|
Reference in New Issue
Block a user