Kconfig.projbuild 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. menu "Squeezelite-ESP32"
  2. menu "Logging"
  3. config LOGGING_SLIMPROTO
  4. string "logging level for slimproto "
  5. default "info"
  6. help
  7. Set logging level info|debug|sdebug
  8. config LOGGING_STREAM
  9. string "logging level for stream "
  10. default "info"
  11. help
  12. Set logging level info|debug|sdebug
  13. config LOGGING_DECODE
  14. string "logging level for decode"
  15. default "info"
  16. help
  17. Set logging level info|debug|sdebug
  18. config LOGGING_OUTPUT
  19. string "logging level for output"
  20. default "info"
  21. help
  22. Set logging level info|debug|sdebug
  23. endmenu
  24. menu "Audio CODEC libraries"
  25. config INCLUDE_FLAC
  26. bool "FLAC"
  27. default 1
  28. help
  29. Include FLAC library for flc decoding.
  30. config INCLUDE_FAAD
  31. bool "FAAD"
  32. default 1
  33. help
  34. Include FAAD library for aac decoding.
  35. config INCLUDE_MAD
  36. bool "MAD"
  37. default 1
  38. help
  39. Include mad library for mp3 decoding.
  40. config INCLUDE_VORBIS
  41. bool "VORBIS"
  42. default 1
  43. help
  44. Include vorbis/ogg library for ogg/vorbis decoding.
  45. config INCLUDE_ALAC
  46. bool "ALAC"
  47. default 1
  48. help
  49. Include alac library for alac decoding.
  50. config INCLUDE_OPUS
  51. bool "OPUS"
  52. default 1
  53. help
  54. Include opus library for opus decoding.
  55. endmenu
  56. menu "Audio Output"
  57. choice OUTPUT_TYPE
  58. prompt "Output Type"
  59. default BASIC_I2C_BT
  60. help
  61. Type of hardware platform
  62. config SQUEEZEAMP
  63. bool "SqueezeAMP (TAS575x & Bluetooth)"
  64. config A1S
  65. bool "ESP32-A1S module"
  66. config BASIC_I2C_BT
  67. bool "Generic I2S & Bluetooth"
  68. endchoice
  69. menu "DAC I2S settings"
  70. depends on BASIC_I2C_BT
  71. config I2S_NUM
  72. int "I2S channel (0 or 1). "
  73. default 0
  74. help
  75. I2S dma channel to use.
  76. config I2S_BCK_IO
  77. int "I2S Bit clock GPIO number. "
  78. default 33
  79. help
  80. I2S Bit Clock gpio pin to use.
  81. config I2S_WS_IO
  82. int "I2S Word Select GPIO number. "
  83. default 25
  84. help
  85. I2S Word Select gpio pin to use.
  86. config I2S_DO_IO
  87. int "I2S Data I/O GPIO number. "
  88. default 32
  89. help
  90. I2S data I/O gpio pin to use.
  91. endmenu
  92. menu "SPDIF settings"
  93. depends on BASIC_I2C_BT || A1S
  94. config SDIF_NUM
  95. int "SDPIF/I2S channel (0 or 1)"
  96. default 0
  97. help
  98. I2S dma channel to use.
  99. config SPDIF_BCK_IO
  100. int "SDPIF/I2S Bit clock GPIO number"
  101. default -1
  102. help
  103. Must be set even if you don't use SPDIF
  104. config SPDIF_WS_IO
  105. int "SPDIF/I2S Word Select GPIO number"
  106. default -1
  107. help
  108. Must be set even if you don't use SPDIF
  109. config SPDIF_DO_IO
  110. int "I2S Data I/O GPIO number"
  111. default -1
  112. help
  113. Must be set even if you don't use SPDIF
  114. endmenu
  115. menu "A2DP settings"
  116. config A2DP_SINK_NAME
  117. string "Name of Bluetooth A2DP device"
  118. default "SMSL BT4.2"
  119. help
  120. This is the name of the bluetooth speaker that Squeezelite will try connecting to.
  121. config A2DP_DEV_NAME
  122. string "Name of Squeezelite device to use when connecting to A2DP device"
  123. default "Squeezelite"
  124. help
  125. This is the name of the device that the Bluetooth speaker will see when it is connected to.
  126. config A2DP_CONTROL_DELAY_MS
  127. int "Control loop delay. "
  128. default 500
  129. help
  130. Decreasing this will lead to a more responsive BT control, but might lead to noisy log files if debug is enabled.
  131. config A2DP_CONNECT_TIMEOUT_MS
  132. int "Time out duration when trying to connect to an A2DP audio sink"
  133. default 1000
  134. help
  135. Increasing this value will give more chance for less stable connections to be established.
  136. endmenu
  137. endmenu
  138. menu "Audio Input"
  139. config BT_SINK
  140. bool "Bluetooth receiver"
  141. default y
  142. help
  143. Enable bluetooth sink (Note that you obviously can't at the same time be a Bluetooth receiver and transmitter)
  144. config BT_NAME
  145. depends on BT_SINK
  146. string "Name of Bluetooth A2DP device"
  147. default "ESP32-BT"
  148. help
  149. This is the name of the bluetooth speaker that will be broadcasted
  150. config BT_SINK_PIN
  151. depends on BT_SINK
  152. int "Bluetooth PIN code"
  153. default 1234
  154. config AIRPLAY_SINK
  155. bool "AirPlay receiver"
  156. default y
  157. config AIRPLAY_NAME
  158. depends on AIRPLAY_SINK
  159. string "Name of AirPlay device"
  160. default "ESP32-AirPlay"
  161. help
  162. This is the name of the AirPlay speaker that will be broadcasted
  163. config AIRPLAY_PORT
  164. depends on AIRPLAY_SINK
  165. string "AirPlay listening port"
  166. default 5000
  167. help
  168. AirPlay service listening port
  169. endmenu
  170. menu "Display Screen"
  171. config DISPLAY_CONFIG
  172. string "Screen configuraton"
  173. default ""
  174. help
  175. Set parameters for display screen, leave empty for no screen
  176. I2C,width=<size>,height=<size>
  177. SPI,width=<size>,height=<size>,select=<gpio>
  178. config DISPLAY_I2C_SPEED
  179. int "I2C bus speed"
  180. default 250000
  181. endmenu
  182. menu "Various I/O"
  183. config I2C_CONFIG
  184. string "I2C system configuration"
  185. default ""
  186. help
  187. Set parameters of shared I2C interface
  188. sda=<gpio>,scl=<gpio>,speed=<num>,port=<0|1>
  189. config LED_GREEN_GPIO
  190. int "Green led GPIO"
  191. default -1
  192. help
  193. Set to -1 for no LED
  194. config LED_RED_GPIO
  195. int "Red led GPIO"
  196. default -1
  197. help
  198. Set to -1 for no LED
  199. config JACK_GPIO
  200. int "Jack insertion GPIO"
  201. default -1
  202. help
  203. GPIO to detect speaker jack insertion (0 = inserted). Set to -1 for no detection
  204. endmenu
  205. endmenu