OVMS3-idf/examples/bluetooth/a2dp_sink/main/Kconfig.projbuild

43 lines
1.2 KiB
Text
Raw Normal View History

2017-10-16 07:19:29 +00:00
menu "A2DP Example Configuration"
2019-05-09 14:43:06 +00:00
choice EXAMPLE_A2DP_SINK_OUTPUT
prompt "A2DP Sink Output"
2019-05-09 14:43:06 +00:00
default EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
help
Select to use Internal DAC or external I2S driver
2019-05-09 14:43:06 +00:00
config EXAMPLE_A2DP_SINK_OUTPUT_INTERNAL_DAC
bool "Internal DAC"
help
Select this to use Internal DAC sink output
2019-05-09 14:43:06 +00:00
config EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
bool "External I2S Codec"
help
Select this to use External I2S sink output
endchoice
2019-05-09 14:43:06 +00:00
config EXAMPLE_I2S_LRCK_PIN
int "I2S LRCK (WS) GPIO"
default 22
2019-05-09 14:43:06 +00:00
depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
help
GPIO number to use for I2S LRCK(WS) Driver.
2019-05-09 14:43:06 +00:00
config EXAMPLE_I2S_BCK_PIN
int "I2S BCK GPIO"
default 26
2019-05-09 14:43:06 +00:00
depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
help
GPIO number to use for I2S BCK Driver.
2019-05-09 14:43:06 +00:00
config EXAMPLE_I2S_DATA_PIN
int "I2S DATA GPIO"
default 25
2019-05-09 14:43:06 +00:00
depends on EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S
help
GPIO number to use for I2S Data Driver.
2017-10-16 07:19:29 +00:00
endmenu