Files
xiaozhi-esp32/main/boards/echoear
Xiaoxia 83f6f8c703 Switch to 2.0 branch (#1152)
* Adapt boards to v2 partition tables

* fix esp log error

* fix display style

* reset emotion after download assets

* fix compiling

* update assets default url

* Add user only tools

* Add image cache

* smaller cache and buffer, more heap

* use MAIN_EVENT_CLOCK_TICK to avoid audio glitches

* bump to 2.0.0

* fix compiling errors

---------

Co-authored-by: Xiaoxia <terrence.huang@tenclass.com>
2025-09-04 15:41:28 +08:00
..
2025-09-04 15:41:28 +08:00
2025-06-30 23:01:17 +08:00

EchoEar 喵伴

简介

EchoEar 喵伴是一款智能 AI 开发套件,搭载 ESP32-S3-WROOM-1 模组1.85 寸 QSPI 圆形触摸屏,双麦阵列,支持离线语音唤醒与声源定位算法。硬件详情等可查看立创开源项目

配置、编译命令

配置编译目标为 ESP32S3

idf.py set-target esp32s3

打开 menuconfig 并配置

idf.py menuconfig

分别配置如下选项:

基本配置

  • Xiaozhi AssistantBoard Type → 选择 EchoEar

分区表配置

  • Partition TablePartition Table → 选择 Custom partition table CSV
  • Partition TableCustom partition CSV file → 输入 partitions/v1/16m_echoear.csv

UI风格选择

EchoEar 支持两种不同的UI显示风格通过修改代码中的宏定义来选择

自定义表情显示系统 (推荐)

#define USE_LVGL_DEFAULT    0
  • 特点: 使用自定义的 EmoteDisplay 表情显示系统
  • 功能: 支持丰富的表情动画、眼睛动画、状态图标显示
  • 适用: 智能助手场景,提供更生动的人机交互体验
  • : anim::EmoteDisplay + anim::EmoteEngine

LVGL默认显示系统

#define USE_LVGL_DEFAULT    1
  • 特点: 使用标准LVGL图形库的显示系统
  • 功能: 传统的文本和图标显示界面
  • 适用: 需要标准GUI控件的应用场景
  • : SpiLcdDisplay

如何修改

  1. 打开 main/boards/echoear/EchoEar.cc 文件
  2. 找到第29行的宏定义#define USE_LVGL_DEFAULT 0
  3. 修改为想要的值0或1
  4. 重新编译项目

说明: EchoEar 使用16MB Flash需要使用专门的分区表配置来合理分配存储空间给应用程序、OTA更新、资源文件等。

S 保存,按 Q 退出。

编译

idf.py build

烧录

将 EchoEar 连接至电脑,注意打开电源,并运行:

idf.py flash