Requirements:
- xpack riscv toolchain (riscv-none-embed-)
Set up udev rules for WCH link
sudo cp ./50-wch.rules /etc/udev/rules.d
sudo udevadm control --reload-rules
Make project
make
Unless otherwise stated files are licensed as BSD 2-Clause
Files under vendor/
are from openwch (https://github.com/openwch/ch32v307) Licensed under Apache-2.0
Makefile is based on an example here: https://spin.atomicobject.com/2016/08/26/makefile-c-projects/