Features - cnlohr/ch32fun GitHub Wiki
Features
Instructions
- Time by SysTick shows how to schedule your program flow using the SysTick counter
- Fast debug printf explains how the SWIO debug interface can be used to "printf" (only with some programmers)
- enabling reset through NRST button
Examples
using ch32v003fun (not as many as using the HAL)
Building
Single file header/source
ch32v003fun.[h,c] -- single self-contained source file and header file for compling apps for the ch32v003.
Standalone libgcc
So unusual risc-v build chains can be used, there is an extra copy of libgcc located in misc/libgcc.a
.
Programming
Minichlink
"minichlink" programmer/debugger software which can use
- The WCH CH-Link with libusb, for cross-platform use
- An STM32F042 Programmer, the NHC-Link042
- An ESP32S2 Programmer, the esp32s2-funprog
- The official WCH Link-E Programmer.
Demo bootloader
https://github.com/cnlohr/rv003usb/tree/master/bootloader
In Progress:
- Other programmer support (ESP32-S2 works, currently)
- OpenOCD-compatible build for
minichlink
. - Full-chip-write for faster flash.
- Support for
NHC-Link042
- More demos!