Merge branch 'feature/print_halt_abort' into 'master'

panic handlers: Print the PC address where abort() was called, don't dump registers



See merge request !338
This commit is contained in:
Angus Gratton
2017-01-03 13:44:34 +08:00
4 changed files with 63 additions and 42 deletions

View File

@@ -104,4 +104,13 @@ void esp_cpu_stall(int cpu_id);
*/
void esp_cpu_unstall(int cpu_id);
/**
* @brief Returns true if a JTAG debugger is attached to CPU
* OCD (on chip debug) port.
*
* @note If "Make exception and panic handlers JTAG/OCD aware"
* is disabled, this function always returns false.
*/
bool esp_cpu_in_ocd_debug_mode();
#endif