Skip to content

Commit 11284f3

Browse files
dchat-nordicrlubos
authored andcommitted
bluetooth: Add required heap to the gatt_dm
Add heap requirement to gatt_dm. Make use of HEAP_MEM_POOL_ADD_SIZE_* Kconfig to increase required heap for gatt_dm module. Remove the requirement from ras service, since the requirement is added to gatt_dm itself. Jira: NCSDK-31002 Signed-off-by: Dominik Chat <[email protected]>
1 parent d5cd914 commit 11284f3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

subsys/bluetooth/Kconfig.discovery

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ config BT_GATT_DM_DATA_PRINT
6767
help
6868
Enable functions for printing discovery related data
6969

70+
config HEAP_MEM_POOL_ADD_SIZE_BT_GATT_DM
71+
int
72+
default 512
73+
7074
module = BT_GATT_DM
7175
module-str = GATT database discovery
7276
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"

subsys/bluetooth/services/ras/rreq/Kconfig.ras_rreq

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,4 @@ config BT_RAS_RREQ_MAX_ACTIVE_CONN
2323
help
2424
The number of simultaneous connections with an instance of RAS RREQ
2525

26-
# GATT DM module requires heap
27-
config HEAP_MEM_POOL_ADD_SIZE_RAS_RREQ_GATT_DM
28-
int
29-
default 512
30-
3126
endif # BT_RAS_RREQ

0 commit comments

Comments
 (0)