-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathKconfig
More file actions
84 lines (65 loc) · 2.16 KB
/
Kconfig
File metadata and controls
84 lines (65 loc) · 2.16 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#
# 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
#----------------------------------------------------------------------------#
# if (TRANSPORT_BIS && AUDIO_DEV = 1)
# rsource "broadcast_sink/Kconfig.defaults"
# endif # TRANSPORT_BIS && AUDIO_DEV = 1
# if (TRANSPORT_BIS && AUDIO_DEV = 2)
# rsource "broadcast_source/Kconfig.defaults"
# endif # TRANSPORT_BIS && AUDIO_DEV = 2
# if (TRANSPORT_CIS && AUDIO_DEV = 1)
rsource "unicast_server/Kconfig.defaults"
# endif # TRANSPORT_CIS && AUDIO_DEV = 1
# if (TRANSPORT_CIS && AUDIO_DEV = 2)
# rsource "unicast_client/Kconfig.defaults"
# endif # TRANSPORT_CIS && AUDIO_DEV = 2
rsource "Kconfig.defaults"
rsource "src/audio/Kconfig"
rsource "src/bluetooth/Kconfig"
rsource "src/drivers/Kconfig"
rsource "src/modules/Kconfig"
rsource "src/utils/Kconfig"
rsource "src/SensorManager/Kconfig"
rsource "src/Battery/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"