Files
xiaozhi-esp32/main/boards/m5stack-tab5
Xiaoxia 734b5b410a Support both esp_video and esp32_camera (#1671)
* Update project version to 2.2.1 and refactor camera component handling

- Incremented project version from 2.2.0 to 2.2.1 in CMakeLists.txt.
- Removed legacy esp32_camera component and replaced it with esp_video for ESP32-S3 and ESP32-P4 boards.
- Updated board implementations to utilize the new esp_video component, ensuring compatibility and improved functionality.
- Cleaned up Kconfig options related to camera selection, streamlining the configuration process.
- Enhanced camera initialization logic across various board files to support the new component structure.

* Refactor camera handling in AtomS3R CAM/M12 EchoBase board

- Replaced the legacy EspVideo component with the new Esp32Camera class for improved camera functionality.
- Updated camera initialization logic to utilize a more structured configuration approach, enhancing clarity and maintainability.
- Removed outdated comments and code related to the previous camera implementation in the README file.

* Update camera configuration for atoms3r-cam-m12-echo-base

- Removed outdated camera configuration options from config.json to streamline the setup.
- Retained essential partition table configuration for improved clarity.

* Enhance Esp32Camera functionality and memory management

- Added esp_timer.h for improved timing functionality.
- Streamlined camera initialization by removing redundant frame buffer setup and logging.
- Improved memory allocation for JPEG encoding and added error handling for unsupported pixel formats.
- Updated comments for clarity and consistency, ensuring better understanding of the code flow.
2026-01-20 22:44:37 +08:00
..

使用说明

快速体验

M5Burner 选择 Tab5 搜索小智下载固件

基础使用

  • idf version: v6.0-dev
  1. 调整 idf_component.yml

  espressif/esp_video:
    version: ==1.3.1   # for compatibility. update version may need to modify this project code.
    rules:
    - if: target not in [esp32]

修改为

  espressif/esp_video:
    version: '==0.7.0'
    rules:
    - if: target not in [esp32]
  espressif/esp_ipa: '==0.1.0'
  1. 使用 release.py 编译
python ./scripts/release.py m5stack-tab5

如需手动编译,请参考 m5stack-tab5/config.json 修改 menuconfig 对应选项。

  1. 编译烧录程序
idf.py flash monitor

Note

进入下载模式:长按复位按键(约 2 秒),直至内部绿色 LED 指示灯开始快速闪烁,松开按键。

log

@2025/05/17 测试问题

  1. listening... 需要等几秒才能获取语音输入???
  2. 亮度调节不对
  3. 音量调节不对

TODO