cnlohr/ch32fun
Open source minimal stack for the ch32 and ch5xx WCH RISC-V Microcontrollers observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 99
- Release rhythm 8
- Longevity 92
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1292
- days_rel: 579
- days_push: 7
- n_releases_24m: 1
Adoption not part of the score
1585 stars · 275 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A minimal open-source development environment (headers, examples, and tooling) for WCH RISC-V microcontrollers like the CH32V003, built around gcc-riscv64 without a heavy HAL. It includes minichlink for cross-platform flashing/debugging and a single self-contained source/header pair for compiling bare-metal firmware.
Use cases
- blink an LED on a CH32V003 with minimal firmware size
- flash and debug WCH RISC-V microcontrollers from Linux or Windows
- program a 10-cent RISC-V chip without a heavyweight vendor HAL
- printf-debug over a single wire on a CH32V003
- build bare-metal firmware for CH32V and CH5xx series chips
- use gdbserver-style debugging with Visual Studio on a cheap RISC-V MCU
When to choose
- you want tiny, fast-booting firmware and direct register access via the TRM instead of a bulky HAL
- you need cross-platform flashing/debugging for WCH CH32/CH5xx chips with common programmers
- you're doing cost-sensitive embedded projects with the CH32V003 or related WCH parts
When to avoid
- you prefer a full vendor HAL with extensive peripheral libraries and official support
- you're targeting non-WCH microcontrollers like STM32 or ESP32
- you need extensive per-chip example coverage beyond what the project provides
Facets
library · maturity active
embedded developer-tools compiler sdk testing embedded-systems developer-tools hardware embedded windows cli cross-platform risc-v microcontroller wch ch32v003 bare-metal no-hal toolchain minichlink gdbserver swio-programming linux macos
1 source
- readme: https://github.com/cnlohr/ch32fun · fetched 2026-08-28 · f389ca54647d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cnlohr/ch32fun | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem