Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_CTRL_ESP32
  9. bool
  10. depends on BT_ENABLED && IDF_TARGET_ESP32
  11. default y
  12. config BT_CTRL_ESP32C3
  13. bool
  14. depends on BT_ENABLED && IDF_TARGET_ESP32C3
  15. default y
  16. config BT_CTRL_ESP32S3
  17. bool
  18. depends on BT_ENABLED && IDF_TARGET_ESP32S3
  19. default y
  20. menu "Bluetooth controller(ESP32 Dual Mode Bluetooth)"
  21. visible if BT_CTRL_ESP32
  22. source "$IDF_PATH/components/bt/controller/esp32/Kconfig.in"
  23. endmenu
  24. menu "Bluetooth controller(ESP32C3 Bluetooth Low Energy)"
  25. visible if BT_CTRL_ESP32C3
  26. source "$IDF_PATH/components/bt/controller/esp32c3/Kconfig.in"
  27. endmenu
  28. menu "Bluetooth controller(ESP32S3 Bluetooth Low Energy)"
  29. visible if BT_CTRL_ESP32S3
  30. source "$IDF_PATH/components/bt/controller/esp32s3/Kconfig.in"
  31. endmenu
  32. choice BT_HOST
  33. prompt "Bluetooth Host"
  34. depends on BT_ENABLED && (BTDM_CTRL_HCI_MODE_VHCI || BT_CTRL_HCI_MODE_VHCI)
  35. default BT_BLUEDROID_ENABLED
  36. help
  37. This helps to choose Bluetooth host stack
  38. config BT_BLUEDROID_ENABLED
  39. bool "Bluedroid - Dual-mode"
  40. help
  41. This option is recommended for classic Bluetooth or for dual-mode
  42. usecases
  43. config BT_NIMBLE_ENABLED
  44. bool "NimBLE - BLE only"
  45. help
  46. This option is recommended for BLE only usecases to save on memory
  47. config BT_CONTROLLER_ONLY
  48. bool "Controller Only"
  49. help
  50. This option is recommended when you want to communicate directly with the
  51. controller (without any host) or when you are using any other host stack
  52. not supported by Espressif (not mentioned here).
  53. endchoice
  54. menu "Bluedroid Options"
  55. visible if BT_BLUEDROID_ENABLED
  56. source "$IDF_PATH/components/bt/host/bluedroid/Kconfig.in"
  57. endmenu
  58. menu "NimBLE Options"
  59. visible if BT_NIMBLE_ENABLED
  60. source "$IDF_PATH/components/bt/host/nimble/Kconfig.in"
  61. endmenu
  62. endmenu
  63. menuconfig BLE_MESH
  64. bool "ESP BLE Mesh Support"
  65. depends on BT_ENABLED
  66. help
  67. This option enables ESP BLE Mesh support. The specific features that are
  68. available may depend on other features that have been enabled in the
  69. stack, such as Bluetooth Support, Bluedroid Support & GATT support.
  70. source "$IDF_PATH/components/bt/esp_ble_mesh/Kconfig.in"