HomeCommunity › ch32v003fun — full open-source toolchain for WCH CH32V parts
Community project

ch32v003fun — full open-source toolchain for WCH CH32V parts

The community answer to vendor lock-in: a minimal, open-source GCC + Makefile stack for the CH32V and CH5xx WCH RISC-V parts, with no dependency on the vendor IDE. Includes minichlink, a cross-platform flasher that also speaks gdbserver for source debugging.

Project facts

PlatformGitHub
Authorcnlohr (Charles Lohr)
LicenseMIT
SiliconWCH CH32V003 / CH32V / CH5xx family
Source: GitHub — this project belongs to its author. We feature it as community content for evaluation; full schematics, source code and license terms live on the original project page.

Why we follow it

What it isHeaders, linker scripts, examples and a build flow that let you write bare-metal CH32V003 code against the reference manual directly — no HAL layer in the middle. Runs on Windows, Linux and WSL.
minichlinkA libusb-based programmer for the CH-Link / WCH-Link adapters with ~400 kBaud printf-over-SWD and gdbserver-style debugging, so Visual Studio Code works as a debugger front-end.
EcosystemThe project is the base of a wider community stack: Arduino cores, PlatformIO platform support, and RTOS ports (FreeRTOS, RT-Thread) for WCH RISC-V MCUs.
For youIf you want a fully auditable, license-friendly toolchain for volume CH32V003 production — no vendor IDE seats — this is the stack to evaluate.

Original project

Parts you need to build it

WCH CH32V003
The 10-cent RISC-V microcontroller
Core QingKe V2A (RV32EC); Clock 48 MHz; Flash / RAM 16 KB / 2 KB
View product →
WCH WCH-LinkE
Official programmer and debugger for all W.CH RISC-V parts
Function Programming and debugging via single-wire SDI; Targets CH32V, CH32X, CH32L, CH56x, CH57x, CH58x, CH59x; Interface USB Type-C
View product →

Questions

Is this project maintained?

It is an active community project with regular contributions; check the repository for the latest state.

Tell us what you are building and the volume. We will confirm part availability, lead time and pricing.
Request a quote