add a quick LED helper / prepare SqueezeAMP menuconfig

This commit is contained in:
philippe44
2019-08-06 13:21:00 -07:00
parent 3c025c8454
commit da63df4d93
9 changed files with 213 additions and 23 deletions

View File

@@ -123,26 +123,17 @@ menu "Squeezelite-ESP32"
menu "Audio Output"
choice OUTPUT_TYPE
prompt "Output Type"
default DACAUDIO
default BASIC_I2C_BT
help
Type of output for squeezelite to send audio to
config DACAUDIO
bool "DAC over I2S"
config BTAUDIO
bool "Bluetooth A2DP"
Type of hardware platform
config SQUEEZEAMP
bool "SqueezeAMP (TAS575x & Bluetooth)"
config BASIC_I2C_BT
bool "Generic I2S & Bluetooth"
endchoice
config OUTPUT_NAME
string
default ""
default "BT" if BTAUDIO
default "DAC" if DACAUDIO
config OUTPUT_RATES
string "Output rates"
default "44100"
help
<rates>[:<delay>] Sample rates supported, allows output to be off when squeezelite is started; rates = <maxrate>|<minrate>-<maxrate>|<rate1>,<rate2>,<rate3>; delay = optional delay switching rates in ms
menu "DAC I2S settings"
menu "DAC I2S settings"
depends on BASIC_I2C_BT
config I2S_NUM
int "I2S channel (0 or 1). "
default 0
@@ -180,6 +171,7 @@ menu "Squeezelite-ESP32"
default 24 if I2S_BITS_PER_CHANNEL_24
default 8 if I2S_BITS_PER_CHANNEL_8
endmenu
menu "A2DP settings"
config A2DP_SINK_NAME
string "Name of Bluetooth A2DP device"