zephyr/subsys/bluetooth/audio/Kconfig
Emil Gydesen 9b653540b8 Bluetooth: BAP: Use def_bool instead of select for BT_AUDIO_RX/TX
Remove the selects and use  def_bool for BT_AUDIO_RX and
BT_AUDIO_TX.

This is part of an effort to reduce select in Kconfig.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-11-21 09:19:47 +01:00

57 lines
1.4 KiB
Plaintext

# Bluetooth Audio configuration options
#
# Copyright (c) 2020 Intel Corporation
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig BT_AUDIO
bool "Bluetooth Audio support"
help
This option enables Bluetooth Audio support. The specific
features that are available may depend on other features
that have been enabled in the stack, such as Periodic
Advertisement for Broadcast and L2CAP Dynamic Channel
for Unicast.
if BT_AUDIO
config BT_AUDIO_RX
def_bool BT_ASCS_ASE_SNK || BT_BAP_UNICAST_CLIENT_ASE_SRC || BT_BAP_BROADCAST_SINK
config BT_AUDIO_TX
def_bool BT_ASCS_ASE_SRC || BT_BAP_UNICAST_CLIENT_ASE_SNK || BT_BAP_BROADCAST_SOURCE
config BT_AUDIO_NOTIFY_RETRY_DELAY
int "Delay for notification sending retried attempt in 1.25 ms units"
range 6 3200
default 20
help
This option sets the time in 1.25 ms units before the stack will
retry to send notification that failed due to lack of TX buffers
available.
rsource "Kconfig.bap"
rsource "Kconfig.vocs"
rsource "Kconfig.aics"
rsource "Kconfig.vcp"
rsource "Kconfig.micp"
rsource "Kconfig.csip"
rsource "Kconfig.tbs"
rsource "Kconfig.mcs"
rsource "Kconfig.has"
rsource "Kconfig.mpl"
rsource "Kconfig.mctl"
rsource "Kconfig.cap"
rsource "Kconfig.tmap"
rsource "Kconfig.gmap"
rsource "Kconfig.pbp"
module = BT_AUDIO
module-str = "Bluetooth Audio"
source "subsys/logging/Kconfig.template.log_config"
endif # BT_AUDIO