Skip to content

Commit 39eb100

Browse files
committed
DNM: bluetooth: audio: Convert select to depends on for BT_GATT_DYNAMIC_DB
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
1 parent 86b6665 commit 39eb100

File tree

16 files changed

+26
-15
lines changed

16 files changed

+26
-15
lines changed

samples/bluetooth/bap_broadcast_sink/prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
CONFIG_BT=y
22
CONFIG_LOG=y
3+
CONFIG_BT_OBSERVER=y
34
CONFIG_BT_AUDIO=y
45
CONFIG_BT_SMP=y
56
CONFIG_BT_PAC_SNK=y
@@ -18,3 +19,4 @@ CONFIG_BT_BUF_ACL_TX_SIZE=251
1819
CONFIG_BT_DEVICE_NAME="Broadcast Audio Sink"
1920

2021
CONFIG_BT_TINYCRYPT_ECC=y
22+
CONFIG_BT_GATT_DYNAMIC_DB=y

samples/bluetooth/bap_unicast_server/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CONFIG_BT_SMP=y
44
CONFIG_BT_PERIPHERAL=y
55
CONFIG_BT_ISO_PERIPHERAL=y
66
CONFIG_BT_AUDIO=y
7+
CONFIG_BT_GATT_DYNAMIC_DB=y
78
CONFIG_BT_BAP_UNICAST_SERVER=y
89
CONFIG_BT_ASCS=y
910
CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT=2

samples/bluetooth/cap_acceptor/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
CONFIG_BT=y
22
CONFIG_LOG=y
33
CONFIG_BT_PERIPHERAL=y
4+
CONFIG_BT_GATT_DYNAMIC_DB=y
45
CONFIG_BT_GATT_CLIENT=y
56
CONFIG_BT_EXT_ADV=y
67
CONFIG_BT_DEVICE_NAME="CAP Acceptor"

samples/bluetooth/cap_initiator/prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ CONFIG_BT_BAP_UNICAST_CLIENT_ASE_SRC_COUNT=2
2121
# Broadcast sources values if enabled by CONFIG_SAMPLE_BROADCAST
2222
CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT=2
2323
CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT=1
24+
25+
CONFIG_BT_BAP_BROADCAST_SOURCE=y

samples/bluetooth/hap_ha/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ CONFIG_BT=y
22
CONFIG_BT_PERIPHERAL=y
33
CONFIG_BT_ISO_PERIPHERAL=y
44
CONFIG_BT_PRIVACY=y
5+
CONFIG_BT_GATT_DYNAMIC_DB=y
56

67
CONFIG_BT_SMP=y
78
CONFIG_BT_SMP_SC_PAIR_ONLY=y

samples/bluetooth/pbp_public_broadcast_sink/prj.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ CONFIG_BT=y
22
CONFIG_LOG=y
33
CONFIG_BT_PAC_SNK=y
44
CONFIG_BT_PERIPHERAL=y
5+
CONFIG_BT_OBSERVER=y
56
CONFIG_BT_AUDIO=y
67
CONFIG_UTF8=y
78

@@ -32,3 +33,5 @@ CONFIG_BT_DEVICE_NAME="PBP Broadcast Sink"
3233

3334
# PBP Support
3435
CONFIG_BT_PBP=y
36+
37+
CONFIG_BT_GATT_DYNAMIC_DB=y

samples/bluetooth/tmap_bmr/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ CONFIG_BT=y
22
CONFIG_LOG=y
33
CONFIG_BT_PAC_SNK=y
44
CONFIG_BT_PERIPHERAL=y
5+
CONFIG_BT_OBSERVER=y
56
CONFIG_BT_PRIVACY=y
67
CONFIG_BT_AUDIO=y
78
CONFIG_UTF8=y

subsys/bluetooth/Kconfig.iso

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ config BT_ISO_UNICAST
2727
config BT_ISO_PERIPHERAL
2828
bool "Bluetooth Isochronous Channel Unicast Peripheral Support"
2929
depends on !BT_CTLR || BT_CTLR_PERIPHERAL_ISO_SUPPORT
30-
select BT_PERIPHERAL
30+
depends on BT_PERIPHERAL
3131
select BT_ISO_UNICAST
3232
help
3333
This option enables support for Bluetooth Unicast
@@ -36,7 +36,7 @@ config BT_ISO_PERIPHERAL
3636
config BT_ISO_CENTRAL
3737
bool "Bluetooth Isochronous Channel Unicast Central Support"
3838
depends on !BT_CTLR || BT_CTLR_CENTRAL_ISO_SUPPORT
39-
select BT_CENTRAL
39+
depends on BT_CENTRAL
4040
select BT_ISO_UNICAST
4141
help
4242
This option enables support for Bluetooth Broadcast
@@ -62,7 +62,7 @@ config BT_ISO_SYNC_RECEIVER
6262
depends on !BT_CTLR || BT_CTLR_SYNC_ISO_SUPPORT
6363
select BT_ISO_BROADCAST
6464
select BT_ISO_RX
65-
select BT_OBSERVER
65+
depends on BT_OBSERVER
6666
select BT_PER_ADV_SYNC
6767
help
6868
This option enables support for the Bluetooth Isochronous

subsys/bluetooth/audio/Kconfig.aics

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ config BT_AICS_MAX_INSTANCE_COUNT
1919
config BT_AICS
2020
bool # hidden
2121
default y if BT_AICS_MAX_INSTANCE_COUNT > 0
22-
select BT_GATT_DYNAMIC_DB
22+
depends on BT_GATT_DYNAMIC_DB
2323
help
2424
This hidden option enables support for Audio Input Control Service.
2525

subsys/bluetooth/audio/Kconfig.bap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ config BT_BAP_UNICAST
1212
config BT_BAP_UNICAST_SERVER
1313
bool "Bluetooth Unicast Audio Server Support"
1414
select BT_BAP_UNICAST
15-
select BT_GATT_DYNAMIC_DB
16-
select BT_GATT_CACHING
15+
depends on BT_GATT_DYNAMIC_DB
16+
depends on BT_GATT_CACHING
1717
depends on BT_PERIPHERAL
1818
depends on BT_ISO_PERIPHERAL
1919
depends on BT_ASCS
@@ -207,11 +207,11 @@ endif # BT_BAP_BROADCAST_SINK
207207

208208
config BT_BAP_SCAN_DELEGATOR
209209
bool "Basic Audio Profile Scan Delegator role support"
210-
select BT_OBSERVER
210+
depends on BT_OBSERVER
211211
select BT_EXT_ADV
212212
select BT_PER_ADV_SYNC
213213
select BT_ISO_SYNC_RECEIVER
214-
select BT_GATT_DYNAMIC_DB
214+
depends on BT_GATT_DYNAMIC_DB
215215
depends on BT_BONDABLE
216216
help
217217
This option enables support for the Scan Delegator role and the
@@ -241,7 +241,7 @@ endif # BT_BAP_SCAN_DELEGATOR
241241

242242
config BT_BAP_BROADCAST_ASSISTANT
243243
bool "Basic Audio Profile Broadcast Assistant role support"
244-
select BT_OBSERVER
244+
depends on BT_OBSERVER
245245
select BT_EXT_ADV
246246
select BT_PER_ADV_SYNC
247247
select BT_ISO_SYNC_RECEIVER

0 commit comments

Comments
 (0)