Kconfig.projbuild 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. menu "A2DP Example Configuration"
  2. config EXAMPLE_A2DP_SINK_SSP_ENABLED
  3. bool "Secure Simple Pairing"
  4. depends on BT_CLASSIC_ENABLED
  5. default y
  6. help
  7. This enables the Secure Simple Pairing. If disable this option,
  8. Bluedroid will only support Legacy Pairing
  9. choice EXAMPLE_A2DP_SINK_OUTPUT
  10. prompt "A2DP Sink Output"
  11. default EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
  12. help
  13. Select to use Internal DAC or external I2S driver
  14. config EXAMPLE_A2DP_SINK_OUTPUT_INTERNAL_DAC
  15. bool "Internal DAC"
  16. help
  17. Select this to use Internal DAC sink output,
  18. note that DAC_DMA_AUTO_16BIT_ALIGN should be turned off
  19. because the audio data are already 16-bit width
  20. config EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
  21. bool "External I2S Codec"
  22. help
  23. Select this to use External I2S sink output
  24. endchoice
  25. config EXAMPLE_I2S_LRCK_PIN
  26. int "I2S LRCK (WS) GPIO"
  27. default 22
  28. depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
  29. help
  30. GPIO number to use for I2S LRCK(WS) Driver.
  31. config EXAMPLE_I2S_BCK_PIN
  32. int "I2S BCK GPIO"
  33. default 26
  34. depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
  35. help
  36. GPIO number to use for I2S BCK Driver.
  37. config EXAMPLE_I2S_DATA_PIN
  38. int "I2S DATA GPIO"
  39. default 25
  40. depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
  41. help
  42. GPIO number to use for I2S Data Driver.
  43. endmenu