Skip to content

Commit e4754f3

Browse files
sean-madigananangl
authored andcommitted
bluetooth: controller: Adjust stack sizes due to PSA change
PSA requires large stacks, especially on 54. Signed-off-by: Sean Madigan <[email protected]> Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent 3b9cca1 commit e4754f3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

subsys/bluetooth/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ config BT_LL_SOFTDEVICE_HEADERS_INCLUDE
3939
config BT_LL_SOFTDEVICE_HEADERS_INCLUDE_PATH_OVERRIDE
4040
bool
4141

42+
config BT_LONG_WQ_STACK_SIZE
43+
int
44+
default 3200 if BT_ECC && SOC_SERIES_NRF54LX
45+
default 3100 if BT_GATT_CACHING && SOC_SERIES_NRF54LX
46+
default 1800 if BT_ECC
47+
default 1700 if BT_GATT_CACHING
48+
default 1024
49+
4250
rsource "controller/Kconfig"
4351
rsource "host_extensions/Kconfig"
4452

subsys/bluetooth/controller/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ config BT_RX_STACK_SIZE
9090
default 512 if BT_HCI_RAW
9191
default 2600 if BT_MESH
9292
default 2200 if BT_SETTINGS
93+
default 3200 if BT_SMP && SOC_SERIES_NRF54LX
9394
default 1536 if BT_SMP
9495
default 1024
9596
range 512 65536 if BT_HCI_RAW

0 commit comments

Comments
 (0)