Kconfig 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. menuconfig BT_ENABLED
  2. bool "Bluetooth"
  3. help
  4. Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
  5. menuconfig BLUEDROID_ENABLED
  6. bool "Bluedroid Bluetooth stack enabled"
  7. depends on BT_ENABLED
  8. default y
  9. help
  10. This enables the default Bluedroid Bluetooth stack
  11. config BTC_TASK_STACK_SIZE
  12. int "Bluetooth event (callback to application) task stack size"
  13. depends on BLUEDROID_ENABLED
  14. default 3072
  15. help
  16. This select btc task stack size
  17. config BLUEDROID_MEM_DEBUG
  18. bool "Bluedroid memory debug"
  19. depends on BLUEDROID_ENABLED
  20. default n
  21. help
  22. Bluedroid memory debug
  23. config CLASSIC_BT_ENABLED
  24. bool "Classic Bluetooth"
  25. depends on BLUEDROID_ENABLED
  26. default n
  27. config BT_DRAM_RELEASE
  28. bool "Release DRAM from Classic BT controller"
  29. depends on BT_ENABLED && (!BLUEDROID_ENABLED || (BLUEDROID_ENABLED && !CLASSIC_BT_ENABLED))
  30. default n
  31. help
  32. This option should only be used when BLE only.
  33. Enabling this option will release about 30K DRAM from Classic BT.
  34. The released DRAM will be used as system heap memory.
  35. #disable now for app cpu due to a known issue
  36. config BTDM_CONTROLLER_RUN_APP_CPU
  37. bool "Run controller on APP CPU"
  38. depends on BT_ENABLED && !FREERTOS_UNICORE && 0
  39. default n
  40. help
  41. Run controller on APP CPU.
  42. config BTDM_CONTROLLER_RUN_CPU
  43. int
  44. depends on BT_ENABLED
  45. default 1 if BTDM_CONTROLLER_RUN_APP_CPU
  46. default 0
  47. menuconfig BT_HCI_UART
  48. bool "HCI use UART as IO"
  49. depends on BT_ENABLED && !BLUEDROID_ENABLED
  50. default n
  51. help
  52. Default HCI use VHCI, if this option choose, HCI will use UART(0/1/2) as IO.
  53. Besides, it can set uart number and uart baudrate.
  54. config BT_HCI_UART_NO
  55. int "UART Number for HCI"
  56. depends on BT_HCI_UART
  57. range 1 2
  58. default 1
  59. help
  60. Uart number for HCI.
  61. config BT_HCI_UART_BAUDRATE
  62. int "UART Baudrate for HCI"
  63. depends on BT_HCI_UART
  64. range 115200 921600
  65. default 921600
  66. help
  67. UART Baudrate for HCI. Please use standard baudrate.
  68. # Memory reserved at start of DRAM for Bluetooth stack
  69. config BT_RESERVE_DRAM
  70. hex
  71. default 0x10000 if BT_ENABLED
  72. default 0