Metapac migration#3
Merged
Merged
Conversation
aq1018
force-pushed
the
metapac-migration
branch
2 times, most recently
from
May 16, 2026 04:22
a5212bc to
238f254
Compare
5 tasks
flash-algo-v3 references set_bter/set_btpg which were added to ch32-data in 62145f5; the previously pinned 9b0d5c9 lacks them, breaking the v3 and render-YAMLs jobs.
aq1018
force-pushed
the
metapac-migration
branch
from
June 13, 2026 11:04
ca67a07 to
f2b66ec
Compare
aq1018
force-pushed
the
metapac-migration
branch
from
June 13, 2026 19:04
e18c34b to
7f77539
Compare
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.
Rewrites this repo on top of ch32-metapac; replaces the legacy Keil/cargo-flash setup with Rust crates that build directly off the IP-version metadata.
Highlights
(flash IP version, CPU arch)pair underalgos/; each emits three bins (usr/sys/ob) for the writable regions. VND (factory ESIG) is read-only and skipped.xtaskbuilds every algo crate, extracts each ELF into aRawFlashAlgorithm, and emits one probe-rs target YAML per family togenerated/.ChipDetectionMethod::WchLink; V2/V3_ram_codesplits resolve viaObRefinementoverOB.USERbits 5-7.ch32-datacommit.Supported chips
algos/v0flash_v0riscv32ec-unknown-none-elfalgos/v00xflash_v00xriscv32ec_zmmul-unknown-none-elfalgos/v1flash_v1riscv32imac-unknown-none-elfalgos/f1flash_v1thumbv7m-none-eabialgos/v3flash_v3riscv32imac-unknown-none-elfalgos/x0flash_x0riscv32imac-unknown-none-elfalgos/l1flash_l1riscv32imac-unknown-none-elfalgos/h4flash_h4riscv32imac-unknown-none-elf126 target variants across 8 family YAMLs.