added support fo guition board

This commit is contained in:
2026-03-13 16:39:27 +00:00
parent 0203682200
commit c5233cf15c
16 changed files with 1293 additions and 4 deletions
+12
View File
@@ -73,6 +73,10 @@ menu "Squeezelite-ESP32"
bool "T-WATCH2020 by LilyGo"
select I2C_LOCKED
select TARGET_LOCKED
config GUITION
bool "Guition JC4827W543C"
select I2C_LOCKED
select TARGET_LOCKED
endchoice
config RELEASE_API
string "Software update URL"
@@ -91,12 +95,14 @@ menu "Squeezelite-ESP32"
default "SqueezeAMP" if SQUEEZEAMP
default "Squeezelite-TWATCH" if TWATCH2020
default "Muse" if MUSE
default "Squeezelite-Guition" if GUITION
default "Squeezelite-ESP32"
config FW_PLATFORM_NAME
string
default "SqueezeAmp" if SQUEEZEAMP
default "TWATCH" if TWATCH2020
default "Muse" if MUSE
default "Guition" if GUITION
default "ESP32"
# AGGREGATES - begin
# these parameters are "aggregates" that take precedence. They must have a default value
@@ -105,6 +111,7 @@ menu "Squeezelite-ESP32"
default "model=TAS57xx,bck=33,ws=25,do=32,sda=27,scl=26,mute=14:0" if SQUEEZEAMP
default "model=I2S,bck=26,ws=25,do=33,i2c=53,sda=21,scl=22" if TWATCH2020
default "model=I2S,bck=5,ws=25,do=26,di=35,i2c=16,sda=18,scl=23,mck" if MUSE
default "model=I2S,bck=15,ws=16,do=17" if GUITION
default ""
config SPDIF_CONFIG
string
@@ -117,10 +124,12 @@ menu "Squeezelite-ESP32"
string
default "dc=27,data=19,clk=18" if TWATCH2020
default "mosi=15,miso=2,clk=14" if MUSE
default "clk=47,data=21,48,40,39,cs=45,host=2" if GUITION
default ""
config DISPLAY_CONFIG
string
default "SPI,driver=ST7789,width=240,height=240,cs=5,back=12,speed=16000000,HFlip,VFlip" if TWATCH2020
default "QSPI,driver=ILI9488,width=480,height=272,cs=45,speed=20000000,invert,rotate" if GUITION
default ""
config ETH_CONFIG
string
@@ -143,6 +152,7 @@ menu "Squeezelite-ESP32"
config TARGET
string
default "muse" if MUSE
default "guition" if GUITION
default ""
config AMP_GPIO
int
@@ -176,6 +186,7 @@ menu "Squeezelite-ESP32"
string
default "0=ir" if SQUEEZEAMP
default "" if TWATCH2020
default "1=backlight" if GUITION
endmenu
menu "Audio settings"
@@ -344,6 +355,7 @@ menu "Squeezelite-ESP32"
visible if !TWATCH2020
config I2C_CONFIG
string "I2C system configuration"
default "sda=8,scl=4,speed=400000,port=0" if GUITION
default ""
help
Set parameters of shared I2C interface