Skip to content

feat(esp32p4): add ESP32-P4 flash plugin and chip manifest#66

Merged
shiliu-yang merged 2 commits into
refactor/v3from
yj/batch-flash-auth-v3
Jun 26, 2026
Merged

feat(esp32p4): add ESP32-P4 flash plugin and chip manifest#66
shiliu-yang merged 2 commits into
refactor/v3from
yj/batch-flash-auth-v3

Conversation

@shiliu-yang

Copy link
Copy Markdown
Contributor

Summary

  • feat(esp32p4): 新增 ESP32-P4 烧录插件及前端芯片描述

    • Rust: Esp32p4Plugin,复用 run_esp,注册到 FlashPluginRegistry
    • CLI: esp32p4 加入芯片列表和默认波特率映射(460800)
    • Frontend: chip-manifests 新增条目(16 MiB、4 KiB 对齐、全片擦除预设)+ i18n(en / zh-CN)
  • fix(batch-auth): 批量任务进行中时卸载页面不再调用 cleanup()

Test plan

  • cargo test -p tyutool-core 通过(registry 含 ESP32P4,共 11 个插件)
  • pnpm run test 通过(chip-manifests 测试含 esp32p4)
  • CLI --device esp32p4 可正常解析,默认波特率 460800

Rust: new Esp32p4Plugin (reuses run_esp via ESP32P4_DEF), registered in
FlashPluginRegistry and exposed through mod.rs.

CLI: esp32p4 added to chip list and default-baud map (460800).

Frontend: chip-manifests entry (16 MiB flash, 4 KiB alignment, full-chip
erase preset) + CHIP_IDS constant + i18n strings (en / zh-CN).
@shiliu-yang shiliu-yang merged commit 8e45e56 into refactor/v3 Jun 26, 2026
3 checks passed
@shiliu-yang shiliu-yang deleted the yj/batch-flash-auth-v3 branch June 26, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant