Skip to content

Commit

Permalink
Bluetooth: samples: Remove unnecessary main stack configuration
Browse files Browse the repository at this point in the history
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 <joakim.andersson@nordicsemi.no>
  • Loading branch information
joerchan authored and carlescufi committed Mar 4, 2021
1 parent 82daea9 commit bd97359
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion samples/bluetooth/hci_pwr_ctrl/prj.conf
@@ -1,7 +1,6 @@
CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_MAIN_STACK_SIZE=512
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=768
CONFIG_BT_HRS=y
CONFIG_BT_DEVICE_APPEARANCE=833
Expand Down
1 change: 0 additions & 1 deletion samples/bluetooth/hci_uart/prj.conf
Expand Up @@ -15,5 +15,4 @@ CONFIG_BT_MAX_CONN=16
CONFIG_BT_TINYCRYPT_ECC=n
CONFIG_BT_CTLR_DTM_HCI=y

CONFIG_MAIN_STACK_SIZE=1024
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512

0 comments on commit bd97359

Please sign in to comment.