Kconfig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. menu "Bluetooth"
  2. visible if (IDF_TARGET_ESP32 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3)
  3. config BT_ENABLED
  4. bool "Bluetooth"
  5. depends on (IDF_TARGET_ESP32 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3)
  6. help
  7. Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
  8. config BT_SOC_SUPPORT_5_0
  9. bool
  10. depends on BT_ENABLED && (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3)
  11. default y if BT_ENABLED && (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3)
  12. default n
  13. menu "Bluetooth controller"
  14. depends on BT_ENABLED
  15. source "$IDF_PATH/components/bt/controller/$IDF_TARGET/Kconfig.in"
  16. endmenu
  17. choice BT_HOST
  18. prompt "Bluetooth Host"
  19. depends on BT_ENABLED && (BTDM_CTRL_HCI_MODE_VHCI || BT_CTRL_HCI_MODE_VHCI)
  20. default BT_BLUEDROID_ENABLED
  21. help
  22. This helps to choose Bluetooth host stack
  23. config BT_BLUEDROID_ENABLED
  24. bool "Bluedroid - Dual-mode"
  25. help
  26. This option is recommended for classic Bluetooth or for dual-mode
  27. usecases
  28. config BT_NIMBLE_ENABLED
  29. bool "NimBLE - BLE only"
  30. help
  31. This option is recommended for BLE only usecases to save on memory
  32. config BT_CONTROLLER_ONLY
  33. bool "Controller Only"
  34. help
  35. This option is recommended when you want to communicate directly with the
  36. controller (without any host) or when you are using any other host stack
  37. not supported by Espressif (not mentioned here).
  38. endchoice
  39. menu "Bluedroid Options"
  40. depends on BT_BLUEDROID_ENABLED
  41. source "$IDF_PATH/components/bt/host/bluedroid/Kconfig.in"
  42. endmenu
  43. menu "NimBLE Options"
  44. depends on BT_NIMBLE_ENABLED
  45. source "$IDF_PATH/components/bt/host/nimble/Kconfig.in"
  46. endmenu
  47. endmenu
  48. menuconfig BLE_MESH
  49. bool "ESP BLE Mesh Support"
  50. depends on BT_ENABLED
  51. help
  52. This option enables ESP BLE Mesh support. The specific features that are
  53. available may depend on other features that have been enabled in the
  54. stack, such as Bluetooth Support, Bluedroid Support & GATT support.
  55. source "$IDF_PATH/components/bt/esp_ble_mesh/Kconfig.in"