feat(ble): support memory allocation check debug feature on ESP32-H2

(cherry picked from commit 265a8746dc)

Co-authored-by: cjin <jinchen@espressif.com>
This commit is contained in:
Zhou Xiao
2025-07-09 13:13:59 +08:00
parent b53912c323
commit 5893323abc
3 changed files with 17 additions and 0 deletions

View File

@@ -1693,3 +1693,10 @@ ble_capture_info_user_handler(uint8_t type, uint32_t reason, uint32_t param1, ui
}
return 0;
}
#if CONFIG_BT_LE_MEM_CHECK_ENABLED
void ble_memory_count_limit_set(uint16_t count_limit)
{
bt_osi_mem_count_limit_set(count_limit);
}
#endif // CONFIG_BT_LE_MEM_CHECK_ENABLED