ghostiam/ch32_zig
WCH CH32 HAL in Zig. Compile simply with `zig build`.
ce6022df56143950f04ed42f8c6c25b06b54fd7f.zip
HAL(Hardware Abstraction Layer) for the WCH CH32 series of microcontrollers written in Zig.
See GETTING_STARTED.md for more details.
If you want to learn more about how everything works, I recommend checking out the repository with basic examples that are based on the use of registers without abstractions: ch32v003_basic_zig
See USEFUL_NOTES.md
cd examples/blink_minimal
zig build
zig build minichlink -- -w zig-out/firmware/blink_minimal_ch32v003.bin flash -b
minichlink
Minichlink is a open-source flasher for WCH chips. It is built with Zig and can be compiled using the following command:
zig build minichlink
Output will be in zig-out/bin/minichlink
.