mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-28 13:20:49 +03:00
Start of 5.X work
This commit is contained in:
58
spiffs_src/targets/bureau-oled/config.json
Normal file
58
spiffs_src/targets/bureau-oled/config.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"dev": {
|
||||
"spi": {
|
||||
"mosi": 4,
|
||||
"clk": 5,
|
||||
"dc": 18,
|
||||
"host": "Host1"
|
||||
},
|
||||
"dac": {
|
||||
"bck": 33,
|
||||
"ws": 25,
|
||||
"dout": 32,
|
||||
"model": "I2S"
|
||||
},
|
||||
"display": {
|
||||
"type": "SPI",
|
||||
"common": {
|
||||
"width": 256,
|
||||
"height": 64,
|
||||
"HFlip": false,
|
||||
"VFlip": false,
|
||||
"rotate": false,
|
||||
"driver": "SSD1322",
|
||||
"reset": 21
|
||||
},
|
||||
"spi": {
|
||||
"cs": 19,
|
||||
"speed": 8000000
|
||||
|
||||
}
|
||||
},
|
||||
"rotary": {
|
||||
"A": 23,
|
||||
"B": 22,
|
||||
"SW": 34,
|
||||
"volume": true,
|
||||
"longpress": true
|
||||
}
|
||||
},
|
||||
"names": {
|
||||
"device": "bureau-oled"
|
||||
},
|
||||
"net": {
|
||||
"credentials": [
|
||||
{
|
||||
"ssid": "iot",
|
||||
"auth_type": "WPA2_PSK",
|
||||
"password": "facedecafe"
|
||||
},
|
||||
{
|
||||
"ssid": "iot2",
|
||||
"auth_type": "WPA2_PSK",
|
||||
"password": "facedecafe"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
45
spiffs_src/targets/esp32-a1s-ac101 copy/config.json
Normal file
45
spiffs_src/targets/esp32-a1s-ac101 copy/config.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"gpios": {
|
||||
"redLED": {
|
||||
"gpio": {
|
||||
"pin": 22,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"greenLED": {
|
||||
"gpio": {
|
||||
"pin": 19,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"amp": {
|
||||
"pin": 21,
|
||||
"level": "HIGH"
|
||||
},
|
||||
"jack": {
|
||||
"pin": 39,
|
||||
"level": "LOW"
|
||||
}
|
||||
},
|
||||
"dev": {
|
||||
"dac": {
|
||||
"bck": 27,
|
||||
"ws": 26,
|
||||
"dout": 25,
|
||||
"din":35,
|
||||
"model": "AC101",
|
||||
"i2c": {
|
||||
"port": "PORT0",
|
||||
"speed": 400000,
|
||||
"sda": 33,
|
||||
"scl": 32
|
||||
},
|
||||
"jack_mutes_amp": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
96
spiffs_src/targets/esp32-a1s-ac101/config.json
Normal file
96
spiffs_src/targets/esp32-a1s-ac101/config.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"gpios": {
|
||||
"redLED": {
|
||||
"gpio": {
|
||||
"pin": 19,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"greenLED": {
|
||||
"gpio": {
|
||||
"pin": 22,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"amp": {
|
||||
"pin": 21,
|
||||
"level": "HIGH"
|
||||
},
|
||||
"jack": {
|
||||
"pin": 39,
|
||||
"level": "LOW"
|
||||
}
|
||||
},
|
||||
"dev": {
|
||||
"dac": {
|
||||
"bck": 27,
|
||||
"ws": 26,
|
||||
"dout": 25,
|
||||
"din": 35,
|
||||
"model": "AC101",
|
||||
"i2c": {
|
||||
"port": "PORT0",
|
||||
"speed": 400000,
|
||||
"sda": 33,
|
||||
"scl": 32
|
||||
},
|
||||
"jack_mutes_amp": false
|
||||
},
|
||||
"root_button_profile": "default",
|
||||
"buttons_profiles": [
|
||||
{
|
||||
"profile_name": "default",
|
||||
"buttons": [
|
||||
{
|
||||
"gpio": {
|
||||
"pin": 5
|
||||
},
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type": "A_TOGGLE"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpio": {
|
||||
"pin": 18
|
||||
},
|
||||
"pull": true,
|
||||
"shifter": 5,
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type": "A_VOLUP"
|
||||
}
|
||||
},
|
||||
"shifted": {
|
||||
"pressed": {
|
||||
"type": "A_NEXT"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpio": {
|
||||
"pin": 23
|
||||
},
|
||||
"pull": true,
|
||||
"shifter": 5,
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type": "A_VOLDOWN"
|
||||
}
|
||||
},
|
||||
"shifted": {
|
||||
"pressed": {
|
||||
"type": "A_PREV"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
91
spiffs_src/targets/esp32-a1s-es8388a/config.json
Normal file
91
spiffs_src/targets/esp32-a1s-es8388a/config.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"gpios": {
|
||||
"redLED": {
|
||||
"gpio": {
|
||||
"pin": 22,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"greenLED": {
|
||||
"gpio": {
|
||||
"pin": 19,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"amp": {
|
||||
"pin": 21,
|
||||
"level": "HIGH"
|
||||
},
|
||||
"jack": {
|
||||
"pin": 39,
|
||||
"level": "LOW"
|
||||
}
|
||||
},
|
||||
"dev": {
|
||||
"dac": {
|
||||
"bck": 27,
|
||||
"ws": 25,
|
||||
"dout": 26,
|
||||
"din": -1,
|
||||
"model": "ES8388",
|
||||
"i2c": {
|
||||
"port": "PORT0",
|
||||
"speed": 400000,
|
||||
"sda": 33,
|
||||
"scl": 32
|
||||
},
|
||||
"addr": 16,
|
||||
"jack_mutes_amp": false
|
||||
},
|
||||
"root_button_profile": "default",
|
||||
"buttons_profiles": [
|
||||
{
|
||||
"profile_name": "default",
|
||||
"buttons": [
|
||||
{
|
||||
"gpio": {"pin":5},
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type":"A_TOGGLE"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpio": {"pin":18},
|
||||
"pull": true,
|
||||
"shifter": 5,
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type":"A_VOLUP"
|
||||
}
|
||||
},
|
||||
"shifted": {
|
||||
"pressed": {
|
||||
"type":"A_NEXT"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"gpio": {"pin":23},
|
||||
"pull": true,
|
||||
"shifter": 5,
|
||||
"normal": {
|
||||
"pressed": {
|
||||
"type":"A_VOLDOWN"
|
||||
}
|
||||
},
|
||||
"shifted": {
|
||||
"pressed": {
|
||||
"type":"A_PREV"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
161
spiffs_src/targets/squeezeamp/Config.json.WIP
Normal file
161
spiffs_src/targets/squeezeamp/Config.json.WIP
Normal file
@@ -0,0 +1,161 @@
|
||||
{
|
||||
"gpios": {
|
||||
"greenLED": {
|
||||
"gpio": 12,
|
||||
"brightness": 50,
|
||||
"led_type": "LED_TYPE_GPIO"
|
||||
},
|
||||
"redLED": {
|
||||
"gpio": 13,
|
||||
"brightness": 50,
|
||||
"led_type": "LED_TYPE_GPIO"
|
||||
},
|
||||
"jack": 34,
|
||||
"spkfault": 2
|
||||
},
|
||||
"dev": {
|
||||
"i2c": {
|
||||
"__values_port": "UNSPECIFIED_PORT, PORT0, PORT1",
|
||||
"port": "UNSPECIFIED_PORT",
|
||||
"speed": 0,
|
||||
"sda": 0,
|
||||
"scl": 0
|
||||
},
|
||||
"dac": {
|
||||
"bck": 33,
|
||||
"ws": 25,
|
||||
"dout": 32,
|
||||
"mck": "MCK0",
|
||||
"mute": 14,
|
||||
"model": "TAS57xx",
|
||||
"i2c": {
|
||||
"__values_port": "UNSPECIFIED_PORT, , PORT1",
|
||||
"port": "PORT0",
|
||||
"speed": 250000,
|
||||
"sda": 27,
|
||||
"scl": 26
|
||||
},
|
||||
"daccontrolset": {
|
||||
"commands": [
|
||||
{
|
||||
"__values_type": "INIT, POWER_ON, POWER_OFF, SPEAKER_ON, SPEAKER_OFF, HEADSET_ON, HEADSET_OFF",
|
||||
"type": "INIT",
|
||||
"items": [
|
||||
{
|
||||
"reg_action": {
|
||||
"__one_of_reg_action": "Choose only one structure for sys.ControlItem.item_type",
|
||||
"reg": 0,
|
||||
"val": 0,
|
||||
"__values_mode": "REG_MODE_NOTHING, REG_MODE_OR, REG_MODE_AND",
|
||||
"mode": "REG_MODE_NOTHING"
|
||||
},
|
||||
"gpio_action": {
|
||||
"__one_of_gpio_action": "Choose only one structure for sys.ControlItem.item_type",
|
||||
"gpio": 0,
|
||||
"__values_level": "ACTION_LEVEL_UNDEFINED, ACTION_LEVEL_1, ACTION_LEVEL_0",
|
||||
"level": "ACTION_LEVEL_UNDEFINED"
|
||||
},
|
||||
"delay_action": {
|
||||
"__one_of_delay_action": "Choose only one structure for sys.ControlItem.item_type",
|
||||
"delay": 0,
|
||||
"__comments2_delay": "Delay in milliseconds"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"jack_mutes_amp": false
|
||||
},
|
||||
"spdif": {
|
||||
"ws": 25,
|
||||
"data": 15,
|
||||
"clk": 33
|
||||
},
|
||||
"battery": {
|
||||
"channel": "CH7",
|
||||
"scale": 20.24,
|
||||
"atten": "ATT_0"
|
||||
},
|
||||
"ir": {
|
||||
"gpio": 0
|
||||
}
|
||||
},
|
||||
"cspot": {
|
||||
"enabled": true,
|
||||
"bitrate": 0,
|
||||
"zeroconf": false,
|
||||
"volume": 0
|
||||
},
|
||||
"airplay": {
|
||||
"enabled": false,
|
||||
"port": 0
|
||||
},
|
||||
"squeezelite": {
|
||||
"output_type": "OUTPUT_I2S",
|
||||
"__comments_amp_gpio_timeout": "Timeout (seconds) for switching off amp GPIO\n default is to keep the device 'on' all the time",
|
||||
"amp_gpio_timeout": 0,
|
||||
"__comments_wav_aiff_header_parsing": "tRead wave and aiff format from header, ignore server parameters",
|
||||
"wav_aiff_header_parsing": false,
|
||||
"__comments_server_name_ip": "Server connection options",
|
||||
"server_name_ip": "",
|
||||
"server_port": 0,
|
||||
"__comments_enabled": "Allow disabling squeezelite to use the \n device in \"detached mode\"",
|
||||
"enabled": false,
|
||||
"output_bt": {
|
||||
"sink_name": "",
|
||||
"pin": ""
|
||||
},
|
||||
"log": {
|
||||
"__values_output": "DEFAULT, ERROR, WARN, INFO, DEBUG, SDEBUG",
|
||||
"output": "DEFAULT",
|
||||
"__values_stream": "DEFAULT, ERROR, WARN, INFO, DEBUG, SDEBUG",
|
||||
"stream": "DEFAULT",
|
||||
"__values_decode": "DEFAULT, ERROR, WARN, INFO, DEBUG, SDEBUG",
|
||||
"decode": "DEFAULT",
|
||||
"__values_slimproto": "DEFAULT, ERROR, WARN, INFO, DEBUG, SDEBUG",
|
||||
"slimproto": "DEFAULT",
|
||||
"__values_ir": "DEFAULT, ERROR, WARN, INFO, DEBUG, SDEBUG",
|
||||
"ir": "DEFAULT"
|
||||
},
|
||||
"__comments_max_rate": "Max sample rate reported to server",
|
||||
"max_rate": 0,
|
||||
"buffers": {
|
||||
"stream": 0,
|
||||
"output": 0
|
||||
},
|
||||
"resample": ""
|
||||
},
|
||||
"release_url": "",
|
||||
"bt_sink": {
|
||||
"enabled": false,
|
||||
"volume": 0,
|
||||
"pin": ""
|
||||
},
|
||||
"statistics": false,
|
||||
"telnet": {
|
||||
"enable": false,
|
||||
"block": 0,
|
||||
"buffer": 0
|
||||
},
|
||||
"equalizer": {
|
||||
"loudness": 0.0
|
||||
}
|
||||
},
|
||||
"names": {
|
||||
"__comments_device": "Network device name",
|
||||
"device": "",
|
||||
"__comments_airplay": "AirPlay device name",
|
||||
"airplay": "",
|
||||
"__comments_spotify": "Spotify device name",
|
||||
"spotify": "",
|
||||
"__comments_bluetooth": "Bluetooth player name advertized",
|
||||
"bluetooth": "",
|
||||
"__comments_squeezelite": "Player name reported to the Logitech Media Server",
|
||||
"squeezelite": "",
|
||||
"__comments_wifi_ap_name": "Wifi Access Point name",
|
||||
"wifi_ap_name": ""
|
||||
},
|
||||
"target": "SqueezeAMP"
|
||||
}
|
||||
}
|
||||
85
spiffs_src/targets/squeezeio/config.json
Normal file
85
spiffs_src/targets/squeezeio/config.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"gpios": {
|
||||
"greenLED": {
|
||||
"gpio": {
|
||||
"pin": 110,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
},
|
||||
"redLED": {
|
||||
"gpio": {
|
||||
"pin": 111,
|
||||
"level": "LOW"
|
||||
},
|
||||
"brightness": 50,
|
||||
"led_type": "GPIO"
|
||||
}
|
||||
},
|
||||
"dev": {
|
||||
"spi": {
|
||||
"mosi": 23,
|
||||
"miso": 19,
|
||||
"clk": 18,
|
||||
"dc": 33,
|
||||
"host": "Host1"
|
||||
},
|
||||
"dac": {
|
||||
"bck": 13,
|
||||
"ws": 14,
|
||||
"dout": 12,
|
||||
"din":15,
|
||||
"mck": "GPIO0",
|
||||
"model": "CS4265",
|
||||
"i2c": {
|
||||
"port": "PORT0",
|
||||
"speed": 250000,
|
||||
"sda": 21,
|
||||
"scl": 22
|
||||
},
|
||||
"jack_mutes_amp": false
|
||||
|
||||
},
|
||||
"gpio_exp": [
|
||||
{
|
||||
"model": "MCP23S17",
|
||||
"addr": 32,
|
||||
"spi": {
|
||||
"speed": 10000000,
|
||||
"cs": 4
|
||||
},
|
||||
"base": 100,
|
||||
"count": 16,
|
||||
"intr": 27,
|
||||
"ena": {
|
||||
"pin": 2,
|
||||
"level": "HIGH"
|
||||
}
|
||||
}
|
||||
],
|
||||
"eth": {
|
||||
"type": "RMII",
|
||||
"common": {
|
||||
"model": "W5500",
|
||||
"rst": 109,
|
||||
"ethtmout_s": 8
|
||||
},
|
||||
"spi": {
|
||||
"cs": 5,
|
||||
"speed": 10000000,
|
||||
"intr": 25,
|
||||
"host": "Host1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"names": {
|
||||
"device": "SqueezeIO-v0.1",
|
||||
"airplay": "SqueezeIO-v0.1",
|
||||
"spotify": "SqueezeIO-v0.1",
|
||||
"bluetooth": "SqueezeIO-v0.1",
|
||||
"squeezelite": "SqueezeIO-v0.1",
|
||||
"wifi_ap_name": "SqueezeIO-v0.1"
|
||||
},
|
||||
"target": "SqueezeIO"
|
||||
}
|
||||
Reference in New Issue
Block a user