Skip to content
Snippets Groups Projects
Unverified Commit d684d3e3 authored by Maximilian Gerhardt's avatar Maximilian Gerhardt Committed by GitHub
Browse files

Fix minichlink Windows build (#161)

* Minimum target Windows Vista

* Also include needed libusb-1.0.dll in download
parent 648d262c
No related branches found
No related tags found
No related merge requests found
......@@ -64,4 +64,6 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: minichlink (Windows)
path: minichlink/minichlink.exe
\ No newline at end of file
path: |
minichlink/minichlink.exe
minichlink/libusb-1.0.dll
......@@ -9,7 +9,7 @@ C_S:=minichlink.c pgm-wch-linke.c pgm-esp32s2-ch32xx.c nhc-link042.c minichgdb.c
ifeq ($(OS),Windows_NT)
LDFLAGS:=-L. -lpthread -lusb-1.0 -lsetupapi -lws2_32
CFLAGS:=-Os -s -Wall
CFLAGS:=-Os -s -Wall -D_WIN32_WINNT=0x0600
TOOLS:=minichlink.exe
else
OS_NAME := $(shell uname -s | tr A-Z a-z)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment