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:
commit
85baf0afaa
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue