2019-09-23 10:10:57 -04:00
|
|
|
menu "Bluetooth"
|
2017-10-20 05:09:03 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config BT_ENABLED
|
|
|
|
bool "Bluetooth"
|
2023-08-31 21:29:40 -04:00
|
|
|
depends on !APP_NO_BLOBS
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
|
|
|
|
|
2019-06-24 21:03:58 -04:00
|
|
|
choice BT_HOST
|
2022-06-03 09:52:04 -04:00
|
|
|
prompt "Host"
|
2021-12-06 04:38:11 -05:00
|
|
|
depends on BT_ENABLED
|
2019-06-24 21:03:58 -04:00
|
|
|
default BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
2019-06-24 21:03:58 -04:00
|
|
|
This helps to choose Bluetooth host stack
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-06-24 21:03:58 -04:00
|
|
|
config BT_BLUEDROID_ENABLED
|
|
|
|
bool "Bluedroid - Dual-mode"
|
|
|
|
help
|
|
|
|
This option is recommended for classic Bluetooth or for dual-mode
|
|
|
|
usecases
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-06-24 21:03:58 -04:00
|
|
|
config BT_NIMBLE_ENABLED
|
|
|
|
bool "NimBLE - BLE only"
|
|
|
|
help
|
|
|
|
This option is recommended for BLE only usecases to save on memory
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-11-13 06:26:23 -05:00
|
|
|
config BT_CONTROLLER_ONLY
|
2023-08-31 21:29:40 -04:00
|
|
|
depends on SOC_BT_SUPPORTED
|
2022-06-03 09:52:04 -04:00
|
|
|
bool "Disabled"
|
2019-11-13 06:26:23 -05:00
|
|
|
help
|
|
|
|
This option is recommended when you want to communicate directly with the
|
|
|
|
controller (without any host) or when you are using any other host stack
|
|
|
|
not supported by Espressif (not mentioned here).
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
endchoice
|
|
|
|
|
2022-06-03 09:52:04 -04:00
|
|
|
choice BT_CONTROLLER
|
|
|
|
prompt "Controller"
|
|
|
|
depends on BT_ENABLED
|
|
|
|
default BT_CONTROLLER_ENABLED
|
|
|
|
help
|
|
|
|
This helps to choose Bluetooth controller stack
|
|
|
|
|
|
|
|
config BT_CONTROLLER_ENABLED
|
2023-08-31 21:29:40 -04:00
|
|
|
depends on SOC_BT_SUPPORTED
|
2022-06-03 09:52:04 -04:00
|
|
|
bool "Enabled"
|
|
|
|
help
|
|
|
|
This option is recommended for Bluetooth controller usecases
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2022-06-03 09:52:04 -04:00
|
|
|
config BT_CONTROLLER_DISABLED
|
|
|
|
bool "Disabled"
|
|
|
|
help
|
|
|
|
This option is recommended for Bluetooth Host only usecases
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
menu "Bluedroid Options"
|
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-06-30 04:39:00 -04:00
|
|
|
source "$IDF_PATH/components/bt/host/bluedroid/Kconfig.in"
|
2019-06-24 21:03:58 -04:00
|
|
|
endmenu
|
2022-06-03 09:52:04 -04:00
|
|
|
|
2019-06-24 21:03:58 -04:00
|
|
|
menu "NimBLE Options"
|
2021-09-13 03:58:29 -04:00
|
|
|
depends on BT_NIMBLE_ENABLED
|
2019-06-30 04:39:00 -04:00
|
|
|
source "$IDF_PATH/components/bt/host/nimble/Kconfig.in"
|
2019-06-24 21:03:58 -04:00
|
|
|
endmenu
|
2017-10-20 05:09:03 -04:00
|
|
|
|
2022-06-03 09:52:04 -04:00
|
|
|
menu "Controller Options"
|
|
|
|
depends on BT_CONTROLLER_ENABLED
|
|
|
|
source "$IDF_PATH/components/bt/controller/$IDF_TARGET/Kconfig.in"
|
|
|
|
endmenu
|
|
|
|
|
2023-10-08 04:08:47 -04:00
|
|
|
config BT_RELEASE_IRAM
|
|
|
|
depends on BT_ENABLED && BT_LE_RELEASE_IRAM_SUPPORTED
|
|
|
|
bool "Release Bluetooth text (READ DOCS FIRST)"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option release Bluetooth text section and merge Bluetooth data, bss & text into
|
|
|
|
a large free heap region when esp_bt_mem_release is called, total saving ~21kB or more of IRAM.
|
|
|
|
ESP32-C2 only 3 configurable PMP entries available, rest of them are hard-coded.
|
|
|
|
We cannot split the memory into 3 different regions (IRAM, BLE-IRAM, DRAM).
|
|
|
|
So this option will disable the PMP (ESP_SYSTEM_PMP_IDRAM_SPLIT)
|
|
|
|
|
2024-02-07 02:07:06 -05:00
|
|
|
menu "Common Options"
|
|
|
|
visible if (BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED)
|
|
|
|
|
|
|
|
source "$IDF_PATH/components/bt/common/Kconfig.in"
|
|
|
|
endmenu
|
|
|
|
|
2017-10-20 05:09:03 -04:00
|
|
|
endmenu
|
2019-01-07 02:16:47 -05:00
|
|
|
|
|
|
|
menuconfig BLE_MESH
|
2019-06-30 04:39:00 -04:00
|
|
|
bool "ESP BLE Mesh Support"
|
2019-12-12 10:02:36 -05:00
|
|
|
depends on BT_ENABLED
|
2019-01-07 02:16:47 -05:00
|
|
|
help
|
2019-06-30 04:39:00 -04:00
|
|
|
This option enables ESP BLE Mesh support. The specific features that are
|
2019-01-07 02:16:47 -05:00
|
|
|
available may depend on other features that have been enabled in the
|
|
|
|
stack, such as Bluetooth Support, Bluedroid Support & GATT support.
|
|
|
|
|
2019-06-30 04:39:00 -04:00
|
|
|
source "$IDF_PATH/components/bt/esp_ble_mesh/Kconfig.in"
|