Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 827 Bytes

How_To_Build.md

File metadata and controls

26 lines (22 loc) · 827 Bytes

How To Build

GitHub Workflows / CI Build is available on Build.yml

Clone wch-ch56x-isp repository with git

cd ~
git clone --recursive https://github.com/hydrausb3/wch-ch56x-isp.git

GNU/Linux Ubuntu 20.04 LTS

Prerequisites

sudo apt-get install gcc pkg-config libusb-1.0-0-dev

Automatic build (using Makefile)

make

Windows MSYS2/mingw64

Prerequisites

  • 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

Automatic build (using Makefile)

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 ./