Files
xiaozhi-esp32/main/Kconfig.projbuild

125 lines
2.5 KiB
Plaintext
Raw Normal View History

2024-08-31 18:00:23 +08:00
menu "Xiaozhi Assistant"
config OTA_VERSION_URL
string "OTA Version URL"
default "https://api.tenclass.net/xiaozhi/ota/"
help
The application will access this URL to check for updates.
2024-08-31 18:00:23 +08:00
config WEBSOCKET_URL
string "Websocket URL"
default "wss://api.tenclass.net/xiaozhi/v1/"
2024-08-31 18:00:23 +08:00
help
Communication with the server through websocket after wake up.
config WEBSOCKET_ACCESS_TOKEN
string "Websocket Access Token"
default "test-token"
2024-08-31 18:00:23 +08:00
help
Access token for websocket communication.
2024-09-01 13:24:45 +08:00
config AUDIO_INPUT_SAMPLE_RATE
int "Audio Input Sample Rate"
default 16000
help
Audio input sample rate.
config AUDIO_OUTPUT_SAMPLE_RATE
int "Audio Output Sample Rate"
default 24000
help
Audio output sample rate.
2024-10-01 14:16:12 +08:00
config AUDIO_DEVICE_I2S_MIC_GPIO_WS
2024-09-01 13:24:45 +08:00
int "I2S GPIO WS"
default 4
help
GPIO number of the I2S WS.
2024-10-01 14:16:12 +08:00
config AUDIO_DEVICE_I2S_MIC_GPIO_BCLK
int "I2S GPIO BCLK"
default 5
2024-09-01 13:24:45 +08:00
help
2024-10-01 14:16:12 +08:00
GPIO number of the I2S BCLK.
2024-09-01 13:24:45 +08:00
2024-10-01 14:16:12 +08:00
config AUDIO_DEVICE_I2S_MIC_GPIO_DIN
2024-09-01 13:24:45 +08:00
int "I2S GPIO DIN"
2024-10-01 14:16:12 +08:00
default 6
2024-09-01 13:24:45 +08:00
help
GPIO number of the I2S DIN.
2024-10-01 14:16:12 +08:00
config AUDIO_DEVICE_I2S_SPK_GPIO_DOUT
int "I2S GPIO DOUT"
default 7
help
GPIO number of the I2S DOUT.
2024-09-01 13:24:45 +08:00
config AUDIO_DEVICE_I2S_SIMPLEX
bool "I2S Simplex"
2024-09-07 16:22:33 +08:00
default y
2024-09-01 13:24:45 +08:00
help
Enable I2S Simplex mode.
2024-10-01 14:16:12 +08:00
config AUDIO_DEVICE_I2S_SPK_GPIO_BCLK
int "I2S SPK GPIO BCLK"
default 15
2024-09-01 13:24:45 +08:00
depends on AUDIO_DEVICE_I2S_SIMPLEX
help
GPIO number of the I2S MIC BCLK.
2024-10-01 14:16:12 +08:00
config AUDIO_DEVICE_I2S_SPK_GPIO_WS
int "I2S SPK GPIO WS"
default 16
2024-09-01 13:24:45 +08:00
depends on AUDIO_DEVICE_I2S_SIMPLEX
help
GPIO number of the I2S MIC WS.
2024-10-01 14:16:12 +08:00
config USE_ML307
bool "Use ML307"
default n
help
Use ML307 as the modem.
config ML307_RX_PIN
int "ML307 RX Pin"
default 11
depends on USE_ML307
help
GPIO number of the ML307 RX.
config ML307_TX_PIN
int "ML307 TX Pin"
default 12
depends on USE_ML307
help
GPIO number of the ML307 TX.
config USE_DISPLAY
bool "Use Display"
default n
help
Use Display.
config DISPLAY_HEIGHT
int "Display Height"
default 64
depends on USE_DISPLAY
help
Display height in pixels.
config DISPLAY_SDA_PIN
int "Display SDA Pin"
default 41
depends on USE_DISPLAY
help
GPIO number of the Display SDA.
config DISPLAY_SCL_PIN
int "Display SCL Pin"
default 42
depends on USE_DISPLAY
help
GPIO number of the Display SCL.
2024-08-31 18:00:23 +08:00
endmenu