mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_system: let panic handler break on debug mode on software abort
This commit is contained in:
parent
af9b1131a3
commit
29ebfc3f46
@ -327,10 +327,6 @@ void __attribute__((noreturn)) panic_abort(const char *details)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
while (1) {
|
||||
if (esp_cpu_in_ocd_debug_mode()) {
|
||||
cpu_hal_break();
|
||||
}
|
||||
*((int *) 0) = 0; // should be an invalid operation on targets
|
||||
}
|
||||
*((int *) 0) = 0; // should be an invalid operation on targets
|
||||
while(1);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user