diff --git a/platform/mbed_error.c b/platform/mbed_error.c index f2eb431e02..721d1e944d 100644 --- a/platform/mbed_error.c +++ b/platform/mbed_error.c @@ -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 diff --git a/platform/mbed_lib.json b/platform/mbed_lib.json index 229a516ad7..9ad37693dd 100644 --- a/platform/mbed_lib.json +++ b/platform/mbed_lib.json @@ -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": {