feat(bt/bluedroid): Support get allocated heap size

(cherry picked from commit b85771d577)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
This commit is contained in:
Chen Jian Hua
2026-01-07 16:47:06 +08:00
parent a1b4da1606
commit a81c1a8d29
8 changed files with 111 additions and 4 deletions
+6
View File
@@ -61,6 +61,12 @@
#define HEAP_MEMORY_DEBUG FALSE
#endif
#if UC_BT_BLUEDROID_MEM_STATS
#define HEAP_MEMORY_STATS TRUE
#else
#define HEAP_MEMORY_STATS FALSE
#endif
#if UC_BT_BLUEDROID_THREAD_DEBUG
#define OSI_THREAD_DEBUG TRUE
#else
@@ -107,6 +107,12 @@
#define UC_BT_BLUEDROID_MEM_DEBUG FALSE
#endif
#ifdef CONFIG_BT_BLUEDROID_MEM_STATS
#define UC_BT_BLUEDROID_MEM_STATS TRUE
#else
#define UC_BT_BLUEDROID_MEM_STATS FALSE
#endif
#ifdef CONFIG_BT_BLUEDROID_THREAD_DEBUG
#define UC_BT_BLUEDROID_THREAD_DEBUG TRUE
#else