Skip to content

Commit bd97359

Browse files
joerchancarlescufi
authored andcommitted
Bluetooth: samples: Remove unnecessary main stack configuration
Remove unnecessary main stack configuration in bluetooth samples. The HCI power control sample does not need to set the main stack this low, and setting it causes restriction on what the application can change in menuconfig. A change in the entropy driver causes stack overflow. The HCI uart sample sets the main stack to the default size. Signed-off-by: Joakim Andersson <[email protected]>
1 parent 82daea9 commit bd97359

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

samples/bluetooth/hci_pwr_ctrl/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
CONFIG_BT=y
22
CONFIG_BT_DEBUG_LOG=y
33
CONFIG_BT_PERIPHERAL=y
4-
CONFIG_MAIN_STACK_SIZE=512
54
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=768
65
CONFIG_BT_HRS=y
76
CONFIG_BT_DEVICE_APPEARANCE=833

samples/bluetooth/hci_uart/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ CONFIG_BT_MAX_CONN=16
1515
CONFIG_BT_TINYCRYPT_ECC=n
1616
CONFIG_BT_CTLR_DTM_HCI=y
1717

18-
CONFIG_MAIN_STACK_SIZE=1024
1918
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512

0 commit comments

Comments
 (0)