Skip to content

Commit 65c7f1f

Browse files
rugeGerritsenkartben
authored andcommitted
Bluetooth: Controller: Kconfig: Add dependencies to ISO configs
The ISO configs set defaults based upon BT_ISO_MAX_CHAN and other configs defined in `bluetooth/Kconfig.iso`. By adding these dependencies the error messages resulting from adding `CONFIG_BT_CTLR_PERIPHERAL_ISO=y` to a project configuration file will become less confusing. Now the build will output: ``` warning: BT_CTLR_PERIPHERAL_ISO ( defined at subsys/bluetooth/controller/Kconfig:976, subsys/bluetooth/controller/Kconfig:984) was assigned the value 'y' but got the value 'n'. See ... ``` Previously we would get: ``` warning: default value 0 on BT_CTLR_CONN_ISO_STREAMS (defined at subsys/bluetooth/controller/Kconfig:993) clamped to 1 due to being outside the active range ([1, 64]) ``` Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
1 parent b932e14 commit 65c7f1f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

subsys/bluetooth/controller/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ config BT_CTLR_SYNC_TRANSFER_SENDER
895895

896896
config BT_CTLR_ADV_ISO
897897
bool "LE Broadcast Isochronous Channel advertising" if !BT_LL_SW_SPLIT
898-
depends on BT_BROADCASTER && BT_CTLR_ADV_ISO_SUPPORT
898+
depends on BT_ISO_BROADCASTER && BT_CTLR_ADV_ISO_SUPPORT
899899
select BT_CTLR_ADV_PERIODIC
900900
select BT_CTLR_SET_HOST_FEATURE
901901
default y if BT_ISO_BROADCASTER
@@ -909,7 +909,7 @@ config BT_CTLR_ADV_ISO
909909

910910
config BT_CTLR_SYNC_ISO
911911
bool "LE Broadcast Isochronous Channel advertising sync" if !BT_LL_SW_SPLIT
912-
depends on BT_OBSERVER && BT_CTLR_SYNC_ISO_SUPPORT
912+
depends on BT_ISO_SYNC_RECEIVER && BT_CTLR_SYNC_ISO_SUPPORT
913913
select BT_CTLR_SYNC_PERIODIC
914914
select BT_CTLR_SET_HOST_FEATURE
915915
default y if BT_ISO_SYNC_RECEIVER
@@ -1010,7 +1010,7 @@ config BT_CTLR_SET_HOST_FEATURE
10101010

10111011
config BT_CTLR_CENTRAL_ISO
10121012
bool "LE Connected Isochronous Stream Central" if !BT_LL_SW_SPLIT
1013-
depends on BT_CTLR_CENTRAL_ISO_SUPPORT && BT_CENTRAL
1013+
depends on BT_CTLR_CENTRAL_ISO_SUPPORT && BT_ISO_CENTRAL
10141014
default y if BT_ISO_CENTRAL
10151015
help
10161016
Enable support for Bluetooth 5.2 LE Connected Isochronous Stream
@@ -1023,7 +1023,7 @@ config BT_CTLR_CENTRAL_ISO
10231023

10241024
config BT_CTLR_PERIPHERAL_ISO
10251025
bool "LE Connected Isochronous Stream Peripheral" if !BT_LL_SW_SPLIT
1026-
depends on BT_CTLR_PERIPHERAL_ISO_SUPPORT && BT_PERIPHERAL
1026+
depends on BT_CTLR_PERIPHERAL_ISO_SUPPORT && BT_ISO_PERIPHERAL
10271027
default y if BT_ISO_PERIPHERAL
10281028
help
10291029
Enable support for Bluetooth 5.2 LE Connected Isochronous Stream

0 commit comments

Comments
 (0)