Files
xiaozhi-esp32/main/boards/m5stack-tab5/README.md
Aayush Pratap Singh 2be3c2cb1a fix(mcp): always register self.assets.set_download_url tool for 32MB flash devices (#1971)
* fix(m5stack-tab5): remove stale esp_video==0.7.0 dependency instructions

The README previously instructed users to override esp_video to 0.7.0
and esp_ipa to 0.1.0, but this causes build failures because:
- esp_video 0.7.0 does not export esp_video_deinit(), resulting in
  linker errors ('MAP_FAILED' and 'esp_video_deinit' not declared)
- The project's main/idf_component.yml already pins the correct
  version (esp_video==1.3.1) that the source code expects

Users should now use the default dependency versions from idf_component.yml
without modification.

Fixes #1957

* fix(mcp): always register self.assets.set_download_url tool

On 32MB flash devices the assets partition layout differs from the
default, causing partition_valid() to return false and silently
skipping registration of the self.assets.set_download_url MCP tool.
Users see 'Unknown tool: self.assets.set_download_url' from their MCP
client.

The tool writes to Settings storage which works regardless of the
partition map, so the partition_valid() guard is unnecessary.
Move the AddUserOnlyTool call outside the guard so the tool is always
available for explicit configuration via MCP.

Fixes #1962

---------

Co-authored-by: Aayush Pratap Singh <aayushpratap.singh@gmail.com>
2026-05-02 06:23:25 +08:00

1.3 KiB

使用说明

快速体验

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

基础使用

  • idf version: v5.5.2 or above (recommended: v6.0-dev)

  • No dependency override needed — the project already specifies the correct esp_video and esp_ipa versions in main/idf_component.yml. Do NOT change the dependency versions unless you are also modifying the source code to match the older API.

针对 ESP32-P4 Rev <3.0 用户: 确保你的 sdkconfig.defaults 包含:

CONFIG_ESP32P4_SELECTS_REV_LESS_V3=y

否则烧写的时候会出现:'bootloader/bootloader.bin' requires chip revision in range [v3.0 - v3.99] (this chip is revision v1.x)

  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. 音量调节不对