Bluetooth: Audio: Shell: Fix build errors for USB=n
When CONFIG_USB_DEVICE_STACK=n then the sine wave generator was enabled, which caused build errors. This commit fixes those errors and also adds the nRF5340 as a build target for the USB tests. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
39971ad447
commit
f573c3eb01
4 changed files with 30 additions and 11 deletions
|
@ -1,10 +1,13 @@
|
|||
# For LC3 the following configs are needed
|
||||
CONFIG_FPU=y
|
||||
CONFIG_LIBLC3=y
|
||||
|
||||
# For USB audio the following configs are needed
|
||||
CONFIG_RING_BUFFER=y
|
||||
CONFIG_USB_DEVICE_STACK=y
|
||||
CONFIG_USB_DEVICE_AUDIO=y
|
||||
CONFIG_USB_DEVICE_PRODUCT="Zephyr Shell USB"
|
||||
|
||||
# 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=5120
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
# For LC3 the following configs are needed
|
||||
CONFIG_FPU=y
|
||||
CONFIG_LIBLC3=y
|
||||
|
||||
# For USB audio the following configs are needed
|
||||
CONFIG_RING_BUFFER=y
|
||||
CONFIG_USB_DEVICE_STACK=y
|
||||
CONFIG_USB_DEVICE_AUDIO=y
|
||||
CONFIG_USB_DEVICE_PRODUCT="Zephyr Shell USB"
|
||||
|
||||
# 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_SYSTEM_WORKQUEUE_STACK_SIZE=5120
|
||||
CONFIG_BT_TINYCRYPT_ECC=y
|
||||
|
|
|
@ -353,14 +353,24 @@ tests:
|
|||
bluetooth.audio_shell.no_lc3:
|
||||
extra_args: CONF_FILE="audio.conf"
|
||||
build_only: true
|
||||
platform_allow: native_posix
|
||||
platform_allow:
|
||||
- nrf5340dk/nrf5340/cpuapp
|
||||
- nrf5340_audio_dk/nrf5340/cpuapp
|
||||
integration_platforms:
|
||||
- nrf5340dk/nrf5340/cpuapp
|
||||
- nrf5340_audio_dk/nrf5340/cpuapp
|
||||
extra_configs:
|
||||
- CONFIG_FPU=n
|
||||
- CONFIG_LIBLC3=n
|
||||
bluetooth.audio_shell.no_usb:
|
||||
extra_args: CONF_FILE="audio.conf"
|
||||
build_only: true
|
||||
platform_allow: native_posix
|
||||
platform_allow:
|
||||
- nrf5340dk/nrf5340/cpuapp
|
||||
- nrf5340_audio_dk/nrf5340/cpuapp
|
||||
integration_platforms:
|
||||
- nrf5340dk/nrf5340/cpuapp
|
||||
- nrf5340_audio_dk/nrf5340/cpuapp
|
||||
extra_configs:
|
||||
- CONFIG_RING_BUFFER=n
|
||||
- CONFIG_USB_DEVICE_STACK=n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue