Skip to content

Commit ea05d61

Browse files
Thalleyjhedberg
authored andcommitted
samples: Bluetooth: Fix stack size for unicast audio server
The unicast audio server is actually decoding in the RX thread, and not the system workqueue. This is a temporary fix, as ideally it would do the decoding in a separate thread to avoid taking too much time in the system threads. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 3334b55 commit ea05d61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/bluetooth/bap_unicast_client/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# For LC3 the following configs are needed
22
CONFIG_FPU=y
33
CONFIG_LIBLC3=y
4-
# The LC3 codec uses a large amount of stack. This app runs the codec in the work-queue, hence
5-
# inctease stack size for that thread.
6-
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
4+
# The LC3 codec uses a large amount of stack. This app runs the decoding codec in the RX thread,
5+
# hence increase the stack size for that thread.
6+
CONFIG_BT_RX_STACK_SIZE=4096
77

88
CONFIG_BT_BUF_EVT_RX_SIZE=255
99
CONFIG_BT_BUF_ACL_RX_SIZE=255

0 commit comments

Comments
 (0)