From 102a6210bbecad5cbf53357c7c0c0e803aa21b51 Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Thu, 21 Apr 2022 13:32:08 +0200 Subject: [PATCH] Bluetooth: Kconfig: Increase TX stack size for BT_CTLR && BT_LL_SW_SPLIT Increase the default TX stack size for BT_CTLR && BT_LL_SW_SPLIT, as we have seen applications/samples nearing and even reaching the stack size, causing stack overflows. This is especially true if CONFIG_FPU=y which takes 96 bytes of the TX stack. Signed-off-by: Emil Gydesen --- subsys/bluetooth/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index cc59273baa8..aedb109c510 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -22,7 +22,7 @@ config BT_HCI_TX_STACK_SIZE default 416 if BT_SPI default 940 if BT_CTLR && BT_LL_SW_SPLIT && NO_OPTIMIZATIONS default 1024 if BT_CTLR && BT_LL_SW_SPLIT && BT_CENTRAL - default 640 if BT_CTLR && BT_LL_SW_SPLIT + default 768 if BT_CTLR && BT_LL_SW_SPLIT default 512 if BT_USERCHAN default 640 if BT_STM32_IPM # Even if no driver is selected the following default is still