mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 08:04:33 +02:00
esp_system: let panic handler break on debug mode on software abort
This commit is contained in:
committed by
Renz Bagaporo
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);
|
||||
}
|
Reference in New Issue
Block a user