Add Error Decoding URL in error report

pull/7662/head
Senthil Ramakrishnan 2018-07-31 12:48:35 -05:00 committed by Martin Kojtal
parent 56117a86c8
commit e84e56bc8d
2 changed files with 5 additions and 1 deletions

View File

@ -389,7 +389,7 @@ static void print_error_report(mbed_error_ctx *ctx, const char *error_msg)
threads = (osRtxThread_t *)&osRtxInfo.thread.idle;
print_threads_info(threads);
#endif
mbed_error_printf(MBED_CONF_PLATFORM_ERROR_DECODE_HTTP_URL_STR, ctx->error_status);
mbed_error_printf("\n-- MbedOS Error Info --\n");
}
#endif //ifndef NDEBUG

View File

@ -69,6 +69,10 @@
"macro_name": "MBED_MEM_TRACING_ENABLED",
"help": "Enable tracing of each memory call by invoking a callback on each memory operation. See mbed_mem_trace.h in the HAL API for more information",
"value": false
},
"error-decode-http-url-str": {
"help": "HTTP URL string for ARM Mbed-OS Error Decode microsite",
"value": "\"\\nFor more info, visit: https:/\\/armmbed.github.io/mbedos-error/?error=0x%08X\""
}
},
"target_overrides": {