Skip to content

Commit cfb1eee

Browse files
committed
soc: nxp: imxrt: add BT settings for samples to work without faults
Added configurations on imxrt kconfig to make Bluetooth samples works without stack overflows problems on IMXRT platform series. Signed-off-by: Nirav Agrawal <[email protected]>
1 parent 88a3f84 commit cfb1eee

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

soc/nxp/imxrt/Kconfig.defconfig

+21-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2024 NXP
1+
# Copyright 2017-2025 NXP
22
# SPDX-License-Identifier: Apache-2.0
33

44
if SOC_FAMILY_NXP_IMXRT
@@ -66,6 +66,26 @@ config SYSTEM_WORKQUEUE_STACK_SIZE
6666

6767
endif # ETH_NXP_ENET
6868

69+
if BT
70+
71+
config SYSTEM_WORKQUEUE_STACK_SIZE
72+
default 2048
73+
74+
config BT_LONG_WQ_STACK_SIZE
75+
default 2560
76+
77+
config MAIN_STACK_SIZE
78+
default 2560
79+
80+
if SHELL
81+
82+
config SHELL_STACK_SIZE
83+
default 4096
84+
85+
endif # SHELL
86+
87+
endif # BT
88+
6989
config MEMC
7090
default y if !SOC_SERIES_IMXRT118X # RT118X lacks FLEXRAM
7191

0 commit comments

Comments
 (0)