Bluetooth samples: broadcast audio: Add support for more nrf targets

Add support for the simulated nrf5340 and nrf52 in these samples,
as well as explicit overlays for the nrf5340dk.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-11-01 14:01:36 +01:00 committed by Carles Cufí
commit c929ac5c23
9 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,3 @@
# The LC3 codec uses a large amount of stack. This app runs the codec in the work-queue, hence
# inctease stack size for that thread.
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096

View file

@ -15,5 +15,4 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_DEVICE_NAME="Broadcast Audio Sink"
# Enable encryption.
CONFIG_BT_TINYCRYPT_ECC=y

View file

@ -8,6 +8,7 @@ tests:
- qemu_cortex_m3
- qemu_x86
- nrf5340dk_nrf5340_cpuapp
- nrf5340bsim_nrf5340_cpuapp
integration_platforms:
- qemu_x86
- nrf5340dk_nrf5340_cpuapp

View file

@ -0,0 +1 @@
CONFIG_MAIN_STACK_SIZE=4096

View file

@ -1,5 +1,3 @@
# When Host is fixed, CONFIG_BT_CTLR_ISO_TX_BUFFER_SIZE can inherit the CONFIG_BT_ISO_TX_MTU value.
CONFIG_BT_ISO_TX_MTU=40
# The LC3 codec uses a large amount of stack. This app runs the codec in the work-queue, hence
# inctease stack size for that thread.
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096

View file

@ -0,0 +1 @@
CONFIG_MAIN_STACK_SIZE=4096

View file

@ -0,0 +1,4 @@
# The LC3 codec uses a large amount of stack. This app runs the codec in the work-queue, hence
# inctease stack size for that thread.
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4096

View file

@ -10,6 +10,8 @@ CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT=2
CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT=2
CONFIG_BT_ISO_TX_BUF_COUNT=4
CONFIG_BT_ISO_TX_MTU=60
CONFIG_BT_DEVICE_NAME="Broadcast Audio Source"
CONFIG_BT_TINYCRYPT_ECC=y

View file

@ -8,6 +8,7 @@ tests:
- qemu_cortex_m3
- qemu_x86
- nrf5340dk_nrf5340_cpuapp
- nrf5340bsim_nrf5340_cpuapp
integration_platforms:
- qemu_x86
- nrf5340dk_nrf5340_cpuapp