Kconfig 3.0 KB

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