components/bt: assert in host, to coredump param

This commit is contained in:
baohongde 2020-06-05 17:06:40 +08:00 committed by maojianxin
parent a3188d7fd9
commit 07dbcee626
2 changed files with 13 additions and 1 deletions

View File

@ -1385,6 +1385,18 @@ esp_err_t esp_ble_scan_dupilcate_list_flush(void)
return ESP_OK;
}
/**
* This function re-write controller's function,
* As coredump can not show paramerters in function which is in a .a file.
*
* After coredump fixing this issue, just delete this function.
*/
void IRAM_ATTR r_assert(const char *condition, int param0, int param1, const char *file, int line)
{
__asm__ __volatile__("ill\n");
}
#define BT_IS_ALIVE true
#define BT_NOT_ALIVE false

@ -1 +1 @@
Subproject commit c832b171c12858be3cbca91ec9398aa30efdd7fb
Subproject commit ba4826d6202abea4821e48817c979ee137c8dbdc