This is an automated email from the ASF dual-hosted git repository.

rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 47d1bb50dfff9bb77736db70f5d93578861bde5a
Author: Mariusz Skamra <[email protected]>
AuthorDate: Tue Feb 27 13:08:45 2024 +0100

    nimble/iso: Fix BLE_ISO dependency
    
    This adds the BLE_ISO dependency on BLE_ISO_BROADCAST_SOURCE and
    BLE_ISO_BROADCAST_SINK.
    Once one of those roles is enabled, the BLE_ISO shall be enabled.
---
 nimble/syscfg.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/nimble/syscfg.yml b/nimble/syscfg.yml
index 47bd266ce..6264d0bc2 100644
--- a/nimble/syscfg.yml
+++ b/nimble/syscfg.yml
@@ -95,6 +95,7 @@ syscfg.defs:
         value: 0
         restrictions:
             - '(BLE_VERSION >= 52) if 1'
+            - '(BLE_ISO_BROADCAST_SOURCE || BLE_ISO_BROADCAST_SINK) if 1'
     BLE_ISO_BROADCAST_SOURCE:
         description: >
             This enables LE Audio Broadcast Source feature
@@ -160,3 +161,6 @@ syscfg.restrictions:
 # Enable VS HCI by default for combined or standalone controller build
 syscfg.vals.BLE_CONTROLLER:
     BLE_HCI_VS: 1
+
+syscfg.vals.'BLE_ISO_BROADCAST_SOURCE || BLE_ISO_BROADCAST_SINK':
+    BLE_ISO: 1

Reply via email to