Skip to content

Commit

Permalink
samples: Bluetooth: Mesh: add main stack for mesh provisioner
Browse files Browse the repository at this point in the history
The current main stack size is not enough for any platform.
This commit stack size was checked for nrf52840 and nrf5340.
Everything works.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
  • Loading branch information
alxelax committed Nov 8, 2023
1 parent 452e3a0 commit 18565c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/bluetooth/mesh_provisioner/prj.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#CONFIG_INIT_STACKS=y
CONFIG_MAIN_STACK_SIZE=1408
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
# The Bluetooth API should not be used from a preemptive thread:
CONFIG_MAIN_THREAD_PRIORITY=-2
Expand Down

0 comments on commit 18565c2

Please sign in to comment.