GitHub Workflows / CI Build is available on Build.yml
cd ~
git clone --recursive https://github.com/hydrausb3/wch-ch56x-isp.git
sudo apt-get install gcc pkg-config libusb-1.0-0-dev
make
- install MSYS2/mingw64 from https://www.msys2.org
- Start mingw64 console
pacman -Syu
pacman -S mingw-w64-x86_64-make mingw-w64-x86_64-pkgconf mingw-w64-x86_64-gcc mingw-w64-x86_64-libusb
mingw32-make.exe clean all
- Optional copy libusb-1.0.dll to same directory as the executable(if it is not in your path)
cp /mingw64/bin/libusb-1.0.dll ./