mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
components/bt: Fix crash in ld_acl_tx
add fixed bug record into coredump
This commit is contained in:
@@ -1408,6 +1408,10 @@ esp_err_t esp_ble_scan_dupilcate_list_flush(void)
|
|||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void IRAM_ATTR r_assert_with_log(uint32_t error_bit, uint32_t time_slot)
|
||||||
|
{
|
||||||
|
__asm__ __volatile__("ill\n");
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* This function re-write controller's function,
|
* This function re-write controller's function,
|
||||||
* As coredump can not show paramerters in function which is in a .a file.
|
* As coredump can not show paramerters in function which is in a .a file.
|
||||||
@@ -1416,7 +1420,13 @@ esp_err_t esp_ble_scan_dupilcate_list_flush(void)
|
|||||||
*/
|
*/
|
||||||
void IRAM_ATTR r_assert(const char *condition, int param0, int param1, const char *file, int line)
|
void IRAM_ATTR r_assert(const char *condition, int param0, int param1, const char *file, int line)
|
||||||
{
|
{
|
||||||
__asm__ __volatile__("ill\n");
|
extern uint32_t btdm_debug_error_get_bit();
|
||||||
|
extern uint32_t btdm_debug_error_get_time();
|
||||||
|
|
||||||
|
uint32_t error_bit = btdm_debug_error_get_bit();
|
||||||
|
uint32_t time_slot = btdm_debug_error_get_time();
|
||||||
|
r_assert_with_log(error_bit, time_slot);
|
||||||
|
//__asm__ __volatile__("ill\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Submodule components/bt/lib updated: 2b43d19330...711f501d45
Reference in New Issue
Block a user