Initial commit for nrf5340_audio
This commit is contained in:
66
Kconfig
Normal file
66
Kconfig
Normal file
@@ -0,0 +1,66 @@
|
||||
#
|
||||
# Copyright (c) 2018 Nordic Semiconductor ASA
|
||||
#
|
||||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
|
||||
#
|
||||
|
||||
menuconfig NRF5340_AUDIO
|
||||
bool "nRF5340 Audio [EXPERIMENTAL]"
|
||||
select EXPERIMENTAL
|
||||
|
||||
if NRF5340_AUDIO
|
||||
|
||||
config CUSTOM_BROADCASTER
|
||||
bool "Allow custom broadcasters"
|
||||
default n
|
||||
help
|
||||
Incomplete feature for now, but will introduce support for multiple BIGs and subgroups.
|
||||
|
||||
config AUDIO_DEV
|
||||
int "Select which device type to compile for. 1=HEADSET or 2=GATEWAY"
|
||||
range 1 2
|
||||
default 1
|
||||
help
|
||||
Setting this variable to 1 selects that the project is compiled
|
||||
as a HEADSET device.
|
||||
Setting to 2 will compile as a GATEWAY.
|
||||
|
||||
choice NRF5340_AUDIO_TRANSPORT_MODE
|
||||
prompt "Choose BIS or CIS for ISO transport"
|
||||
default TRANSPORT_CIS if WALKIE_TALKIE_DEMO
|
||||
default TRANSPORT_CIS
|
||||
|
||||
config TRANSPORT_BIS
|
||||
bool "Use BIS (Broadcast Isochronous Stream)"
|
||||
|
||||
config TRANSPORT_CIS
|
||||
bool "Use CIS (Connected Isochronous Stream)"
|
||||
|
||||
endchoice
|
||||
|
||||
#----------------------------------------------------------------------------#
|
||||
rsource "Kconfig.defaults"
|
||||
rsource "src/audio/Kconfig"
|
||||
rsource "src/bluetooth/Kconfig"
|
||||
rsource "src/drivers/Kconfig"
|
||||
rsource "src/modules/Kconfig"
|
||||
rsource "src/utils/Kconfig"
|
||||
|
||||
#----------------------------------------------------------------------------#
|
||||
menu "Logging"
|
||||
|
||||
module = MAIN
|
||||
module-str = main
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
config PRINT_STACK_USAGE_MS
|
||||
depends on THREAD_ANALYZER && INIT_STACKS
|
||||
int "Print stack usage every x milliseconds"
|
||||
default 5000
|
||||
|
||||
endmenu # Log levels
|
||||
|
||||
#----------------------------------------------------------------------------#
|
||||
endif # NRF5340_AUDIO
|
||||
|
||||
source "Kconfig.zephyr"
|
||||
Reference in New Issue
Block a user