2018-01-27 04:18:21 -05:00
|
|
|
menu "A2DP Example Configuration"
|
2023-08-29 04:49:49 -04:00
|
|
|
config EXAMPLE_A2DP_SINK_SSP_ENABLED
|
|
|
|
bool "Secure Simple Pairing"
|
|
|
|
depends on BT_CLASSIC_ENABLED
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables the Secure Simple Pairing. If disable this option,
|
|
|
|
Bluedroid will only support Legacy Pairing
|
2018-01-27 04:18:21 -05:00
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
choice EXAMPLE_A2DP_SINK_OUTPUT
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "A2DP Sink Output"
|
2019-05-09 10:43:06 -04:00
|
|
|
default EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Select to use Internal DAC or external I2S driver
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_A2DP_SINK_OUTPUT_INTERNAL_DAC
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Internal DAC"
|
|
|
|
help
|
2022-10-10 07:17:22 -04:00
|
|
|
Select this to use Internal DAC sink output,
|
|
|
|
note that DAC_DMA_AUTO_16BIT_ALIGN should be turned off
|
|
|
|
because the audio data are already 16-bit width
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "External I2S Codec"
|
|
|
|
help
|
|
|
|
Select this to use External I2S sink output
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_I2S_LRCK_PIN
|
2019-01-25 11:10:53 -05:00
|
|
|
int "I2S LRCK (WS) GPIO"
|
|
|
|
default 22
|
2019-05-09 10:43:06 -04:00
|
|
|
depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
GPIO number to use for I2S LRCK(WS) Driver.
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_I2S_BCK_PIN
|
2019-01-25 11:10:53 -05:00
|
|
|
int "I2S BCK GPIO"
|
|
|
|
default 26
|
2019-05-09 10:43:06 -04:00
|
|
|
depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
GPIO number to use for I2S BCK Driver.
|
|
|
|
|
2019-05-09 10:43:06 -04:00
|
|
|
config EXAMPLE_I2S_DATA_PIN
|
2019-01-25 11:10:53 -05:00
|
|
|
int "I2S DATA GPIO"
|
|
|
|
default 25
|
2019-05-09 10:43:06 -04:00
|
|
|
depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
GPIO number to use for I2S Data Driver.
|
2018-01-27 04:18:21 -05:00
|
|
|
|
|
|
|
endmenu
|