forked from too1/ncs-le-audio-sd-card-playback
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
62 lines (48 loc) · 1.56 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# 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 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/events/Kconfig"
rsource "src/modules/Kconfig"
rsource "src/utils/Kconfig"
rsource "dfu/conf/Kconfig.dfu"
#----------------------------------------------------------------------------#
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"