Kconfig 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. menu "Bluetooth"
  2. config BT_ENABLED
  3. bool "Bluetooth"
  4. depends on !APP_NO_BLOBS
  5. help
  6. Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
  7. choice BT_HOST
  8. prompt "Host"
  9. depends on BT_ENABLED
  10. default BT_BLUEDROID_ENABLED
  11. help
  12. This helps to choose Bluetooth host stack
  13. config BT_BLUEDROID_ENABLED
  14. bool "Bluedroid - Dual-mode"
  15. help
  16. This option is recommended for classic Bluetooth or for dual-mode
  17. usecases
  18. config BT_NIMBLE_ENABLED
  19. bool "NimBLE - BLE only"
  20. depends on BT_CONTROLLER_ENABLED
  21. help
  22. This option is recommended for BLE only usecases to save on memory
  23. config BT_CONTROLLER_ONLY
  24. depends on SOC_BT_SUPPORTED
  25. bool "Disabled"
  26. help
  27. This option is recommended when you want to communicate directly with the
  28. controller (without any host) or when you are using any other host stack
  29. not supported by Espressif (not mentioned here).
  30. endchoice
  31. choice BT_CONTROLLER
  32. prompt "Controller"
  33. depends on BT_ENABLED
  34. default BT_CONTROLLER_ENABLED
  35. help
  36. This helps to choose Bluetooth controller stack
  37. config BT_CONTROLLER_ENABLED
  38. depends on SOC_BT_SUPPORTED
  39. bool "Enabled"
  40. help
  41. This option is recommended for Bluetooth controller usecases
  42. config BT_CONTROLLER_DISABLED
  43. bool "Disabled"
  44. help
  45. This option is recommended for Bluetooth Host only usecases
  46. endchoice
  47. menu "Bluedroid Options"
  48. depends on BT_BLUEDROID_ENABLED
  49. source "$IDF_PATH/components/bt/host/bluedroid/Kconfig.in"
  50. endmenu
  51. menu "NimBLE Options"
  52. depends on BT_NIMBLE_ENABLED
  53. source "$IDF_PATH/components/bt/host/nimble/Kconfig.in"
  54. endmenu
  55. menu "Controller Options"
  56. depends on BT_CONTROLLER_ENABLED
  57. source "$IDF_PATH/components/bt/controller/$IDF_TARGET/Kconfig.in"
  58. endmenu
  59. config BT_RELEASE_IRAM
  60. depends on BT_ENABLED && BT_LE_RELEASE_IRAM_SUPPORTED
  61. bool "Release Bluetooth text (READ DOCS FIRST)"
  62. default n
  63. help
  64. This option release Bluetooth text section and merge Bluetooth data, bss & text into
  65. a large free heap region when esp_bt_mem_release is called, total saving ~21kB or more of IRAM.
  66. ESP32-C2 only 3 configurable PMP entries available, rest of them are hard-coded.
  67. We cannot split the memory into 3 different regions (IRAM, BLE-IRAM, DRAM).
  68. So this option will disable the PMP (ESP_SYSTEM_PMP_IDRAM_SPLIT)
  69. endmenu
  70. menuconfig BLE_MESH
  71. bool "ESP BLE Mesh Support"
  72. depends on BT_ENABLED
  73. help
  74. This option enables ESP BLE Mesh support. The specific features that are
  75. available may depend on other features that have been enabled in the
  76. stack, such as Bluetooth Support, Bluedroid Support & GATT support.
  77. source "$IDF_PATH/components/bt/esp_ble_mesh/Kconfig.in"