Skip to content

Commit 47bcc44

Browse files
committed
Bluetooth: Samples: peripheral_hr: Optimize stack minimal sizes
Reduce stack sizes for peripheral_hr sample to minimal sizes. Signed-off-by: Aleksander Wasaznik <[email protected]>
1 parent 66e7332 commit 47bcc44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/bluetooth/peripheral_hr/prj_minimal.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ CONFIG_BUILTIN_STACK_GUARD=n
7272
CONFIG_BT_RX_STACK_SIZE=1024
7373
CONFIG_BT_HCI_TX_STACK_SIZE_WITH_PROMPT=y
7474
CONFIG_BT_HCI_TX_STACK_SIZE=640
75-
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1100
75+
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=200
7676
CONFIG_BT_LONG_WQ_STACK_SIZE=1100
77-
CONFIG_IDLE_STACK_SIZE=128
78-
CONFIG_MAIN_STACK_SIZE=640
77+
CONFIG_IDLE_STACK_SIZE=64
78+
CONFIG_MAIN_STACK_SIZE=500
7979
CONFIG_ISR_STACK_SIZE=1024
8080

8181
# Disable features not needed

0 commit comments

Comments
 (0)