Skip to main content
Execute qualquer Skill no Manus
com um clique

add-wch-pac-family

Estrelas163
Forks15
Atualizado16 de maio de 2026 às 13:00

End-to-end workflow for adding a new WCH RISC-V chip family (CH32x / CH5xx / CH6xx) to the ch32-rs repo — start from a raw vendor SVD and produce a buildable PAC crate. Use this whenever the user mentions adding/integrating a new WCH chip, regenerating ch32-rs for a new MCU, dealing with `xmllint --schema CMSIS-SVD.xsd` validation failures on a WCH SVD, hitting `svdtools` errors like `MissingRegisterError`, or asking why the generated PACs don't use the `riscv` crate. Walks through SVD cleanup (`fix-svd-order.py`), `devices/*.yaml` authoring, `generate.sh` and `makecrates.py` registration, and the WCH-specific PFIC/Qingke gotchas.

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

SKILL.md
readonly