2019-11-01 13:45:29 +01:00
|
|
|
# Bluetooth drivers configuration options
|
2016-10-27 20:30:52 +03:00
|
|
|
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-10-27 20:30:52 +03:00
|
|
|
|
2016-10-27 16:55:01 +03:00
|
|
|
comment "Bluetooth HCI Driver Options"
|
|
|
|
|
2017-08-09 09:21:11 +03:00
|
|
|
config BT_UART
|
2016-10-27 16:55:01 +03:00
|
|
|
bool
|
|
|
|
|
2018-05-15 12:55:50 +03:00
|
|
|
choice BT_HCI_BUS_TYPE
|
2016-10-27 16:55:01 +03:00
|
|
|
prompt "Bluetooth HCI driver"
|
|
|
|
|
2017-08-09 09:21:11 +03:00
|
|
|
config BT_H4
|
2016-10-27 16:55:01 +03:00
|
|
|
bool "H:4 UART"
|
|
|
|
select UART_INTERRUPT_DRIVEN
|
2017-08-09 09:21:11 +03:00
|
|
|
select BT_UART
|
2016-11-08 14:25:36 +02:00
|
|
|
depends on SERIAL
|
2016-10-27 16:55:01 +03:00
|
|
|
help
|
|
|
|
Bluetooth H:4 UART driver. Requires hardware flow control
|
|
|
|
lines to be available.
|
|
|
|
|
2017-08-09 09:21:11 +03:00
|
|
|
config BT_H5
|
2016-10-27 16:55:01 +03:00
|
|
|
bool "H:5 UART [EXPERIMENTAL]"
|
|
|
|
select UART_INTERRUPT_DRIVEN
|
2017-08-09 09:21:11 +03:00
|
|
|
select BT_UART
|
2021-10-15 14:14:16 +02:00
|
|
|
select EXPERIMENTAL
|
2016-11-08 14:25:36 +02:00
|
|
|
depends on SERIAL
|
2016-10-27 16:55:01 +03:00
|
|
|
help
|
|
|
|
Bluetooth three-wire (H:5) UART driver. Implementation of HCI
|
|
|
|
Three-Wire UART Transport Layer.
|
|
|
|
|
2019-11-15 11:35:33 +01:00
|
|
|
config BT_RPMSG
|
|
|
|
bool "HCI using RPMsg"
|
2022-07-11 15:30:20 +02:00
|
|
|
select BT_HAS_HCI_VS
|
2022-02-25 16:26:23 +01:00
|
|
|
select IPC_SERVICE
|
|
|
|
select MBOX
|
2019-11-15 11:35:33 +01:00
|
|
|
help
|
|
|
|
Bluetooth HCI driver for communication with another CPU
|
|
|
|
using RPMsg framework.
|
|
|
|
|
2017-08-09 09:21:11 +03:00
|
|
|
config BT_SPI
|
2017-01-09 14:16:07 +00:00
|
|
|
bool "SPI HCI"
|
2017-06-06 21:26:14 -05:00
|
|
|
depends on SPI
|
2017-01-09 14:16:07 +00:00
|
|
|
help
|
|
|
|
Supports Bluetooth ICs using SPI as the communication protocol.
|
2017-04-21 10:29:51 -07:00
|
|
|
HCI packets are sent and received as single Byte transfers,
|
2017-01-09 14:16:07 +00:00
|
|
|
prepended after a known header. Headers may vary per device, so
|
2017-04-21 10:29:51 -07:00
|
|
|
additional platform specific knowledge may need to be added as
|
2017-01-25 22:24:45 -02:00
|
|
|
devices are.
|
2017-01-09 14:16:07 +00:00
|
|
|
|
2019-02-27 14:19:25 +01:00
|
|
|
config BT_STM32_IPM
|
|
|
|
bool "IPM HCI"
|
|
|
|
select USE_STM32_HAL_CORTEX
|
2020-05-08 15:36:26 +02:00
|
|
|
select HAS_STM32LIB
|
2019-02-27 14:19:25 +01:00
|
|
|
help
|
|
|
|
TODO
|
|
|
|
|
2023-04-19 11:23:32 +02:00
|
|
|
config BT_SILABS_HCI
|
|
|
|
bool "Silicon Labs Bluetooth interface"
|
2023-04-24 12:23:20 +02:00
|
|
|
depends on SOC_SERIES_EFR32BG22 || SOC_SERIES_EFR32MG24
|
2023-05-11 18:09:24 +02:00
|
|
|
depends on !PM || SOC_GECKO_PM_BACKEND_PMGR
|
2023-04-19 11:23:32 +02:00
|
|
|
select ENTROPY_GENERATOR
|
|
|
|
select MBEDTLS
|
|
|
|
select MBEDTLS_PSA_CRYPTO_C
|
|
|
|
select MBEDTLS_ENTROPY_ENABLED
|
|
|
|
select MBEDTLS_ZEPHYR_ENTROPY
|
|
|
|
help
|
|
|
|
Use Silicon Labs binary Bluetooth library to connect to the
|
|
|
|
controller.
|
|
|
|
|
2018-05-25 13:32:34 +03:00
|
|
|
config BT_USERCHAN
|
|
|
|
bool "HCI User Channel based driver"
|
|
|
|
depends on BOARD_NATIVE_POSIX
|
|
|
|
help
|
|
|
|
This driver provides access to the local Linux host's Bluetooth
|
|
|
|
adapter using a User Channel HCI socket to the Linux kernel. It
|
|
|
|
is only intended to be used with the native POSIX build of Zephyr.
|
|
|
|
The Bluetooth adapter must be powered off in order for Zephyr to
|
|
|
|
be able to use it.
|
|
|
|
|
2021-04-01 00:51:49 -03:00
|
|
|
config BT_ESP32
|
|
|
|
bool "ESP32 HCI driver"
|
|
|
|
help
|
|
|
|
Espressif HCI bluetooth interface
|
|
|
|
|
2022-05-23 14:50:52 +03:00
|
|
|
config BT_B91
|
|
|
|
bool "Telink B91 HCI driver"
|
|
|
|
help
|
|
|
|
Telink B91 HCI bluetooth interface
|
|
|
|
|
2023-04-30 22:37:59 -07:00
|
|
|
config BT_PSOC6_BLESS
|
|
|
|
bool "PSOC6 BLESS driver"
|
|
|
|
select BT_HCI_SETUP
|
|
|
|
help
|
|
|
|
PSOC6 BLESS driver with BLE Controller which operates in
|
|
|
|
Single CPU mode.
|
|
|
|
|
2017-08-09 09:21:11 +03:00
|
|
|
config BT_NO_DRIVER
|
2016-10-27 16:55:01 +03:00
|
|
|
bool "No default HCI driver"
|
|
|
|
help
|
|
|
|
This is intended for unit tests where no internal driver
|
|
|
|
should be selected.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2017-08-09 09:21:11 +03:00
|
|
|
if BT_SPI
|
2017-01-09 14:16:07 +00:00
|
|
|
|
2020-09-10 14:07:23 +02:00
|
|
|
config BT_SPI_INIT_PRIORITY
|
|
|
|
int "BT SPI init priority"
|
|
|
|
default 75
|
|
|
|
|
2018-06-26 12:07:23 +02:00
|
|
|
config BT_BLUENRG_ACI
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "ACI message with with BlueNRG-based devices"
|
2018-06-26 12:07:23 +02:00
|
|
|
help
|
|
|
|
Enable support for devices compatible with the BlueNRG Bluetooth
|
|
|
|
Stack. Current driver supports: ST BLUENRG-MS.
|
|
|
|
|
2017-08-09 09:21:11 +03:00
|
|
|
config BT_SPI_BLUENRG
|
2022-03-09 12:05:12 +01:00
|
|
|
bool "Compatibility with BlueNRG-based devices"
|
2017-01-25 22:24:45 -02:00
|
|
|
help
|
|
|
|
Enable support for devices compatible with the BlueNRG Bluetooth
|
2018-06-26 12:07:23 +02:00
|
|
|
Stack. Current driver supports: ST BLUENRG-MS.
|
2017-01-25 22:24:45 -02:00
|
|
|
|
2017-08-09 09:21:11 +03:00
|
|
|
endif # BT_SPI
|
2019-11-15 11:35:33 +01:00
|
|
|
|
2020-03-16 10:58:10 +01:00
|
|
|
config BT_STM32_IPM_RX_STACK_SIZE
|
|
|
|
int "STM32 IPM stack size for RX thread"
|
|
|
|
depends on BT_STM32_IPM
|
2020-08-26 09:06:15 +02:00
|
|
|
default 512
|
2020-03-16 10:58:10 +01:00
|
|
|
|
2022-04-29 10:34:00 +03:00
|
|
|
menuconfig BT_CYW43XXX
|
|
|
|
bool "CYW43XXX BT connectivity"
|
|
|
|
default y
|
|
|
|
select BT_HCI_SETUP
|
|
|
|
depends on GPIO
|
|
|
|
depends on DT_HAS_INFINEON_CYW43XXX_BT_HCI_ENABLED
|
|
|
|
depends on BT_H4
|
|
|
|
help
|
|
|
|
Infineon's AIROC™ Wi-Fi & combos portfolio integrates
|
|
|
|
IEEE 802.11a/b/g/n/ac/ax Wi-Fi and Bluetooth® 5.2 in a single-chip
|
|
|
|
solution to enable small-form-factor IoT designs.
|
|
|
|
source "drivers/bluetooth/hci/Kconfig.infineon"
|
|
|
|
|
2020-09-09 21:28:29 +05:30
|
|
|
config BT_DRIVER_QUIRK_NO_AUTO_DLE
|
|
|
|
bool "Host auto-initiated Data Length Update quirk"
|
|
|
|
depends on BT_AUTO_DATA_LEN_UPDATE
|
2022-02-25 16:26:23 +01:00
|
|
|
default y if BT_RPMSG || BT_ESP32
|
2020-09-09 21:28:29 +05:30
|
|
|
help
|
|
|
|
Enable the quirk wherein BT Host stack will auto-initiate Data Length
|
|
|
|
Update procedure for new connections for controllers that do not
|
|
|
|
auto-initiate the procedure if the default data length parameters are
|
|
|
|
not equal to the initial parameters.
|
|
|
|
|
|
|
|
This has to be enabled when the BLE controller connected is Zephyr
|
|
|
|
open source controller.
|
2022-01-20 15:48:42 +02:00
|
|
|
|
|
|
|
config BT_HCI_SETUP
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Enable the HCI vendor-specific Setup function.
|
|
|
|
|
|
|
|
This option has to be enabled when the BT Controller requires execution
|
|
|
|
of the vendor-specific commands sequence to initialize the BT Controller
|
|
|
|
before the BT Host executes a Reset sequence.
|
|
|
|
|
|
|
|
The user should generally avoid changing it via menuconfig or in
|
|
|
|
configuration files. This option are enabled by the vendor-specific
|
|
|
|
HCI extension, where the Setup function is implemented.
|
2023-02-22 08:45:15 +01:00
|
|
|
|
|
|
|
config BT_DRV_TX_STACK_SIZE
|
|
|
|
int
|
|
|
|
default 256
|
|
|
|
help
|
|
|
|
Stack size for the HCI driver's TX thread.
|
|
|
|
|
|
|
|
config BT_DRV_RX_STACK_SIZE
|
|
|
|
int
|
|
|
|
default 512 if BT_SPI
|
|
|
|
default BT_RX_STACK_SIZE if (BT_H4 || BT_HCI_RAW_H4)
|
|
|
|
default BT_STM32_IPM_RX_STACK_SIZE if BT_STM32_IPM
|
|
|
|
default 256
|
|
|
|
help
|
|
|
|
Stack size for the HCI driver's RX thread.
|
2023-04-19 11:23:32 +02:00
|
|
|
|
|
|
|
config BT_SILABS_HCI_BUFFER_MEMORY
|
|
|
|
int "Silicon Labs Bluetooth Library memory buffer size"
|
|
|
|
depends on BT_SILABS_HCI
|
|
|
|
default 6144
|
|
|
|
help
|
|
|
|
Select the size of allocated memory buffer for the Silicon Labs
|
|
|
|
Bluetooth Library.
|