From 0fe3d7c0032f8be2237b8135f002d31724000a98 Mon Sep 17 00:00:00 2001 From: Pavel Vasilyev Date: Mon, 15 May 2023 15:06:36 +0200 Subject: [PATCH] Bluetooth: Mesh: Increase settings thread stack size nRF Connect SDK mesh configuration requires bigger settings thread stack size. Disable thread by default for nRF52832 as it doesn't fit there. Signed-off-by: Pavel Vasilyev --- subsys/bluetooth/mesh/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/subsys/bluetooth/mesh/Kconfig b/subsys/bluetooth/mesh/Kconfig index 758557ab1e7..eddaa1b9604 100644 --- a/subsys/bluetooth/mesh/Kconfig +++ b/subsys/bluetooth/mesh/Kconfig @@ -8,6 +8,16 @@ if BT_MESH menu "Bluetooth mesh" +config BT_MESH_SETTINGS_WORKQ + default n if SOC_NRF52832 + +if BT_MESH_SETTINGS_WORKQ + +config BT_MESH_SETTINGS_WORKQ_STACK_SIZE + default 1400 + +endif + if BT_MESH_ADV_EXT # Set the optimal advertiser configuration to improve performance of the Relay, GATT and Friend