Merge branch 'bugfix/abort_log_error_v3.1' into 'release/v3.1'

newlib: fix abort function cause critical error (backport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!1202
This commit is contained in:
Dong Heng
2019-12-02 14:26:25 +08:00

View File

@ -110,7 +110,7 @@ void _exit(int status)
void abort(void)
{
ESP_LOGE("ABORT","Error found and abort!");
ets_printf("abort() was called at PC %p on core %d\r\n", __builtin_return_address(0) - 3, xPortGetCoreID());
/* cause a exception to jump into panic function */
while (1) {