forked from xiaozhi/xiaozhi-esp32
* Update Kconfig.projbuild 增加设备ESP32-CGC * Update CMakeLists.txt 新增设备EPS32-CGC * Update idf_component.yml 添加ST7735显示驱动 * Update lamp.cc 与ESP32的屏幕GPIO引脚冲突修改 * Add files via upload 新增一个引脚控制风扇 * Update wifi_board.cc 编译提示错误没有这个函数,暂时注释掉 //wifi_ap.SetLanguage(Lang::CODE); * Create README.md 创建新设备ESP32-CGC * Add files via upload 创建新设备ESP32-CGC * Add files via upload ESP32-CGC设备引脚图 * Update esp32_cgc_board.cc * Update idf_component.yml * Delete main/iot/things/newfan.cc * Update lamp.cc * Update wifi_board.cc * Update idf_component.yml * Delete main/boards/esp32-cgc/esp32_cgc_board.cc * Delete main/boards/esp32-cgc/config.h * Delete main/boards/esp32-cgc/README.md * Add files via upload 添加设备ESP32-CGC * Update Kconfig.projbuild 添加ESP32-CGC多屏选择支持,增加一个ST7735-128x128分辨率 * Update config.json * Delete docs/ESP32-CGC-PINMAP.png * Update README.md * Update README.md * Update esp32_cgc_board.cc * Update config.h * Update esp32_cgc_board.cc 跟随主线修改 * Create README.md 加入了ESP32 CGC 144开发板 * Add files via upload 加入ESP32 CGC 144开发板 * Update esp32_cgc_144_board.cc * Update config.h * Update Kconfig.projbuild 增加ESP32 CGC 144 * Update CMakeLists.txt 增加ESP32 CGC 144 * Update config.json * Update config.h * Update esp32_cgc_144_board.cc 修改屏幕控制参数 * Add files via upload * Update Kconfig.projbuild 删除重复定义 * Update esp32_cgc_144_board.cc 修改音量控制,增加语音配网指令 * Add files via upload * Delete main/boards/esp32-cgc-144/esp32_cgc_144_lcd_display.h * Delete main/boards/esp32-cgc-144/esp32_cgc_144_lcd_display.cc * Update board_control.cc 修改背光控制逻辑 * Update esp32_cgc_144_board.cc 跟随主代码更新 * Update config.h 删除不使用的引脚定义 * Update esp32_cgc_board.cc 跟随主代码更新,去除多余引脚 * Update esp32_cgc_board.cc * Update board_control.cc * Update config.h * Update esp32_cgc_144_board.cc * Update Kconfig.projbuild * Update CMakeLists.txt * Update CMakeLists.txt 先移除144开发板 * Update Kconfig.projbuild 先移除144开发板 * Delete main/boards/esp32-cgc-144 directory 先移除144开发板 * Update esp32_cgc_board.cc --------- Co-authored-by: Xiaoxia <terrence@tenclass.com>
225 lines
7.0 KiB
Plaintext
225 lines
7.0 KiB
Plaintext
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.
|
||
|
||
|
||
choice
|
||
prompt "语言选择"
|
||
default LANGUAGE_ZH_CN
|
||
help
|
||
Select device display language
|
||
|
||
config LANGUAGE_ZH_CN
|
||
bool "Chinese"
|
||
config LANGUAGE_ZH_TW
|
||
bool "Chinese Traditional"
|
||
config LANGUAGE_EN_US
|
||
bool "English"
|
||
config LANGUAGE_JA_JP
|
||
bool "Japanese"
|
||
endchoice
|
||
|
||
|
||
choice CONNECTION_TYPE
|
||
prompt "Connection Type"
|
||
default CONNECTION_TYPE_MQTT_UDP
|
||
help
|
||
网络数据传输协议
|
||
config CONNECTION_TYPE_MQTT_UDP
|
||
bool "MQTT + UDP"
|
||
config CONNECTION_TYPE_WEBSOCKET
|
||
bool "Websocket"
|
||
endchoice
|
||
|
||
config WEBSOCKET_URL
|
||
depends on CONNECTION_TYPE_WEBSOCKET
|
||
string "Websocket URL"
|
||
default "wss://api.tenclass.net/xiaozhi/v1/"
|
||
help
|
||
Communication with the server through websocket after wake up.
|
||
|
||
config WEBSOCKET_ACCESS_TOKEN
|
||
depends on CONNECTION_TYPE_WEBSOCKET
|
||
string "Websocket Access Token"
|
||
default "test-token"
|
||
help
|
||
Access token for websocket communication.
|
||
|
||
choice BOARD_TYPE
|
||
prompt "Board Type"
|
||
default BOARD_TYPE_BREAD_COMPACT_WIFI
|
||
help
|
||
Board type. 开发板类型
|
||
config BOARD_TYPE_BREAD_COMPACT_WIFI
|
||
bool "面包板新版接线(WiFi)"
|
||
config BOARD_TYPE_BREAD_COMPACT_WIFI_LCD
|
||
bool "面包板新版接线(WiFi)+ LCD"
|
||
config BOARD_TYPE_BREAD_COMPACT_ML307
|
||
bool "面包板新版接线(ML307 AT)"
|
||
config BOARD_TYPE_BREAD_COMPACT_ESP32
|
||
bool "面包板 ESP32 DevKit"
|
||
config BOARD_TYPE_ESP32_CGC
|
||
bool "ESP32 CGC"
|
||
config BOARD_TYPE_ESP_BOX_3
|
||
bool "ESP BOX 3"
|
||
config BOARD_TYPE_ESP_BOX
|
||
bool "ESP BOX"
|
||
config BOARD_TYPE_ESP_BOX_LITE
|
||
bool "ESP BOX Lite"
|
||
config BOARD_TYPE_KEVIN_BOX_1
|
||
bool "Kevin Box 1"
|
||
config BOARD_TYPE_KEVIN_BOX_2
|
||
bool "Kevin Box 2"
|
||
config BOARD_TYPE_KEVIN_C3
|
||
bool "Kevin C3"
|
||
config BOARD_TYPE_KEVIN_SP_V3_DEV
|
||
bool "Kevin SP V3开发板"
|
||
config BOARD_TYPE_KEVIN_SP_V4_DEV
|
||
bool "Kevin SP V4开发板"
|
||
config BOARD_TYPE_KEVIN_YUYING_313LCD
|
||
bool "鱼鹰科技3.13LCD开发板"
|
||
config BOARD_TYPE_LICHUANG_DEV
|
||
bool "立创·实战派ESP32-S3开发板"
|
||
config BOARD_TYPE_LICHUANG_C3_DEV
|
||
bool "立创·实战派ESP32-C3开发板"
|
||
config BOARD_TYPE_DF_K10
|
||
bool "DFRobot 行空板 k10"
|
||
config BOARD_TYPE_MAGICLICK_2P4
|
||
bool "神奇按钮 Magiclick_2.4"
|
||
config BOARD_TYPE_MAGICLICK_2P5
|
||
bool "神奇按钮 Magiclick_2.5"
|
||
config BOARD_TYPE_MAGICLICK_C3
|
||
bool "神奇按钮 Magiclick_C3"
|
||
config BOARD_TYPE_MAGICLICK_C3_V2
|
||
bool "神奇按钮 Magiclick_C3_v2"
|
||
config BOARD_TYPE_M5STACK_CORE_S3
|
||
bool "M5Stack CoreS3"
|
||
config BOARD_TYPE_ATOMS3_ECHO_BASE
|
||
bool "AtomS3 + Echo Base"
|
||
config BOARD_TYPE_ATOMS3R_ECHO_BASE
|
||
bool "AtomS3R + Echo Base"
|
||
config BOARD_TYPE_ATOMMATRIX_ECHO_BASE
|
||
bool "AtomMatrix + Echo Base"
|
||
config BOARD_TYPE_XMINI_C3
|
||
bool "虾哥 Mini C3"
|
||
config BOARD_TYPE_ESP32S3_KORVO2_V3
|
||
bool "ESP32S3_KORVO2_V3开发板"
|
||
config BOARD_TYPE_ESP_SPARKBOT
|
||
bool "ESP-SparkBot开发板"
|
||
config BOARD_TYPE_ESP32S3_Touch_AMOLED_1_8
|
||
bool "Waveshare ESP32-S3-Touch-AMOLED-1.8"
|
||
config BOARD_TYPE_ESP32S3_Touch_LCD_1_85C
|
||
bool "Waveshare ESP32-S3-Touch-LCD-1.85C"
|
||
config BOARD_TYPE_ESP32S3_Touch_LCD_1_85
|
||
bool "Waveshare ESP32-S3-Touch-LCD-1.85"
|
||
config BOARD_TYPE_ESP32S3_Touch_LCD_1_46
|
||
bool "Waveshare ESP32-S3-Touch-LCD-1.46"
|
||
config BOARD_TYPE_TUDOUZI
|
||
bool "土豆子"
|
||
config BOARD_TYPE_LILYGO_T_CIRCLE_S3
|
||
bool "LILYGO T-Circle-S3"
|
||
config BOARD_TYPE_LILYGO_T_CAMERAPLUS_S3
|
||
bool "LILYGO T-CameraPlus-S3"
|
||
config BOARD_TYPE_MOVECALL_MOJI_ESP32S3
|
||
bool "Movecall Moji 小智AI衍生版"
|
||
config BOARD_TYPE_ATK_DNESP32S3
|
||
bool "正点原子DNESP32S3开发板"
|
||
config BOARD_TYPE_ATK_DNESP32S3_BOX
|
||
bool "正点原子DNESP32S3-BOX"
|
||
config BOARD_TYPE_DU_CHATX
|
||
bool "嘟嘟开发板CHATX(wifi)"
|
||
config BOARD_TYPE_ESP32S3_Taiji_Pi
|
||
bool "太极小派esp32s3"
|
||
config BOARD_TYPE_XINGZHI_Cube_0_96OLED_WIFI
|
||
bool "无名科技星智0.96(WIFI)"
|
||
config BOARD_TYPE_XINGZHI_Cube_0_96OLED_ML307
|
||
bool "无名科技星智0.96(ML307)"
|
||
config BOARD_TYPE_XINGZHI_Cube_1_54TFT_WIFI
|
||
bool "无名科技星智1.54(WIFI)"
|
||
config BOARD_TYPE_XINGZHI_Cube_1_54TFT_ML307
|
||
bool "无名科技星智1.54(ML307)"
|
||
config BOARD_TYPE_SENSECAP_WATCHER
|
||
bool "SenseCAP Watcher"
|
||
endchoice
|
||
|
||
choice DISPLAY_OLED_TYPE
|
||
depends on BOARD_TYPE_BREAD_COMPACT_WIFI || BOARD_TYPE_BREAD_COMPACT_ML307 || BOARD_TYPE_BREAD_COMPACT_ESP32
|
||
prompt "OLED Type"
|
||
default OLED_SSD1306_128X32
|
||
help
|
||
OLED 屏幕类型选择
|
||
config OLED_SSD1306_128X32
|
||
bool "SSD1306, 分辨率128*32"
|
||
config OLED_SSD1306_128X64
|
||
bool "SSD1306, 分辨率128*64"
|
||
endchoice
|
||
|
||
choice DISPLAY_LCD_TYPE
|
||
depends on BOARD_TYPE_BREAD_COMPACT_WIFI_LCD || BOARD_TYPE_ESP32_CGC
|
||
prompt "LCD Type"
|
||
default LCD_ST7789_240X320
|
||
help
|
||
屏幕类型选择
|
||
config LCD_ST7789_240X320
|
||
bool "ST7789, 分辨率240*320, IPS"
|
||
config LCD_ST7789_240X320_NO_IPS
|
||
bool "ST7789, 分辨率240*320, 非IPS"
|
||
config LCD_ST7789_170X320
|
||
bool "ST7789, 分辨率170*320"
|
||
config LCD_ST7789_172X320
|
||
bool "ST7789, 分辨率172*320"
|
||
config LCD_ST7789_240X280
|
||
bool "ST7789, 分辨率240*280"
|
||
config LCD_ST7789_240X240
|
||
bool "ST7789, 分辨率240*240"
|
||
config LCD_ST7789_240X240_7PIN
|
||
bool "ST7789, 分辨率240*240, 7PIN"
|
||
config LCD_ST7789_240X135
|
||
bool "ST7789, 分辨率240*135"
|
||
config LCD_ST7735_128X160
|
||
bool "ST7735, 分辨率128*160"
|
||
config LCD_ST7735_128X128
|
||
bool "ST7735, 分辨率128*128"
|
||
config LCD_ST7796_320X480
|
||
bool "ST7796, 分辨率320*480"
|
||
config LCD_ILI9341_240X320
|
||
bool "ILI9341, 分辨率240*320"
|
||
config LCD_ILI9341_240X320_NO_IPS
|
||
bool "ILI9341, 分辨率240*320, 非IPS"
|
||
config LCD_GC9A01_240X240
|
||
bool "GC9A01, 分辨率240*240, 圆屏"
|
||
config LCD_CUSTOM
|
||
bool "自定义屏幕参数"
|
||
endchoice
|
||
|
||
choice DISPLAY_ESP32S3_KORVO2_V3
|
||
depends on BOARD_TYPE_ESP32S3_KORVO2_V3
|
||
prompt "ESP32S3_KORVO2_V3 LCD Type"
|
||
default LCD_ST7789
|
||
help
|
||
屏幕类型选择
|
||
config LCD_ST7789
|
||
bool "ST7789, 分辨率240*280"
|
||
config LCD_ILI9341
|
||
bool "ILI9341, 分辨率240*320"
|
||
endchoice
|
||
|
||
config USE_AUDIO_PROCESSOR
|
||
bool "启用音频降噪、增益处理"
|
||
default y
|
||
depends on IDF_TARGET_ESP32S3 && USE_AFE
|
||
help
|
||
需要 ESP32 S3 与 AFE 支持
|
||
|
||
config USE_WAKE_WORD_DETECT
|
||
bool "启用唤醒词检测"
|
||
default y
|
||
depends on IDF_TARGET_ESP32S3 && USE_AFE
|
||
help
|
||
需要 ESP32 S3 与 AFE 支持
|
||
endmenu
|