feat(esp32p4): add ESP32-P4 flash plugin and chip manifest#66
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
feat(esp32p4): 新增 ESP32-P4 烧录插件及前端芯片描述
Esp32p4Plugin,复用run_esp,注册到FlashPluginRegistryesp32p4加入芯片列表和默认波特率映射(460800)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)--device esp32p4可正常解析,默认波特率 460800