Skip to content

Commit

Permalink
bluetooth: Add required heap to the gatt_dm
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dchat-nordic committed Jan 15, 2025
1 parent 8cc2355 commit 392a57d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions subsys/bluetooth/Kconfig.discovery
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ config BT_GATT_DM_DATA_PRINT
help
Enable functions for printing discovery related data

config HEAP_MEM_POOL_ADD_SIZE_BT_GATT_DM
int
default 512

module = BT_GATT_DM
module-str = GATT database discovery
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
Expand Down
5 changes: 0 additions & 5 deletions subsys/bluetooth/services/ras/rreq/Kconfig.ras_rreq
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,4 @@ config BT_RAS_RREQ_MAX_ACTIVE_CONN
help
The number of simultaneous connections with an instance of RAS RREQ

# GATT DM module requires heap
config HEAP_MEM_POOL_ADD_SIZE_RAS_RREQ_GATT_DM
int
default 512

endif # BT_RAS_RREQ

0 comments on commit 392a57d

Please sign in to comment.