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.
The CONFIG_HEAP_MEM_POOL_SIZE has to be greater than 0.

Jira: NCSDK-31002

Signed-off-by: Dominik Chat <[email protected]>
  • Loading branch information
dchat-nordic committed Jan 14, 2025
1 parent 8cc2355 commit c9d038a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/bluetooth/channel_sounding_ras_initiator/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ CONFIG_BT_SMP=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_CONN=1
CONFIG_BT_BONDABLE=n
CONFIG_HEAP_MEM_POOL_SIZE=1024

CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_GATT_DYNAMIC_DB=y
Expand Down
1 change: 1 addition & 0 deletions subsys/bluetooth/Kconfig.discovery
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

menuconfig BT_GATT_DM
bool "GATT Discovery Manager library"
depends on HEAP_MEM_POOL_SIZE > 0
help
Enable BLE GATT Discovery Manager library

Expand Down
1 change: 1 addition & 0 deletions tests/bluetooth/iso/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ CONFIG_BT_BUF_ACL_RX_SIZE=502
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y

CONFIG_MAIN_STACK_SIZE=4096
CONFIG_HEAP_MEM_POOL_SIZE=1024

CONFIG_LOG=y
CONFIG_LOG_BUFFER_SIZE=4096
Expand Down

0 comments on commit c9d038a

Please sign in to comment.