语音对话

This commit is contained in:
admin
2026-02-25 11:16:30 +08:00
parent e9ac05592c
commit 9d060f9f40
5 changed files with 612 additions and 58 deletions

View File

@@ -107,17 +107,17 @@ config TQ_VOICE_HEARTBEAT_SEC
config TQ_VOICE_I2C_PORT
int "Voice I2C port"
range 0 1
default 0
default 1
config TQ_VOICE_I2C_SDA_PIN
int "Voice I2C SDA GPIO"
range 0 48
default 17
default 4
config TQ_VOICE_I2C_SCL_PIN
int "Voice I2C SCL GPIO"
range 0 48
default 18
default 5
config TQ_VOICE_CODEC_ADDR
int "ES8311 I2C address"
@@ -132,27 +132,27 @@ config TQ_VOICE_I2S_PORT
config TQ_VOICE_I2S_MCLK_PIN
int "Voice I2S MCLK GPIO"
range -1 48
default 16
default 39
config TQ_VOICE_I2S_BCLK_PIN
int "Voice I2S BCLK GPIO"
range 0 48
default 9
default 40
config TQ_VOICE_I2S_WS_PIN
int "Voice I2S WS GPIO"
range 0 48
default 45
default 41
config TQ_VOICE_I2S_DOUT_PIN
int "Voice I2S DOUT GPIO"
range 0 48
default 8
default 38
config TQ_VOICE_I2S_DIN_PIN
int "Voice I2S DIN GPIO"
range 0 48
default 10
default 42
config TQ_VOICE_CODEC_PA_PIN
int "ES8311 PA control GPIO"