Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ch32v003fun
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Horn
ch32v003fun
Commits
d684d3e3
Unverified
Commit
d684d3e3
authored
1 year ago
by
Maximilian Gerhardt
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix minichlink Windows build (#161)
* Minimum target Windows Vista * Also include needed libusb-1.0.dll in download
parent
648d262c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/minichlink.yml
+3
-1
3 additions, 1 deletion
.github/workflows/minichlink.yml
minichlink/Makefile
+1
-1
1 addition, 1 deletion
minichlink/Makefile
with
4 additions
and
2 deletions
.github/workflows/minichlink.yml
+
3
−
1
View file @
d684d3e3
...
...
@@ -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
This diff is collapsed.
Click to expand it.
minichlink/Makefile
+
1
−
1
View file @
d684d3e3
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment