-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #261182 from liketechnik/init-wb32-dfu-updater
qmk: add wb32 flash tool
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10042,6 +10042,17 @@ | |
githubId = 3696783; | ||
name = "Leroy Hopson"; | ||
}; | ||
liketechnik = { | ||
name = "Florian Warzecha"; | ||
|
||
email = "[email protected]"; | ||
github = "liketechnik"; | ||
githubId = 24209689; | ||
|
||
keys = [{ | ||
fingerprint = "92D8 A09D 03DD B774 AABD 53B9 E136 2F07 D750 DB5C"; | ||
}]; | ||
}; | ||
lillycham = { | ||
email = "[email protected]"; | ||
github = "lillycat332"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ lib | ||
, stdenv | ||
, fetchFromGitHub | ||
, cmake | ||
, libusb1 | ||
}: | ||
|
||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "wb32-dfu-updater"; | ||
version = "1.0.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "WestberryTech"; | ||
repo = finalAttrs.pname; | ||
rev = finalAttrs.version; | ||
hash = "sha256-DKsDVO00JFhR9hIZksFVJLRwC6PF9LCRpf++QywFO2w="; | ||
}; | ||
|
||
nativeBuildInputs = [ cmake ]; | ||
buildInputs = [ libusb1 ]; | ||
|
||
meta = with lib; { | ||
description = "USB programmer for downloading and uploading firmware to/from USB devices."; | ||
longDescription = '' | ||
wb32-dfu-updater is a host tool used to download and upload firmware to/from WB32 MCU via USB. (wb32-dfu-updater_cli is the command line version). | ||
''; | ||
homepage = "https://github.com/WestberryTech/wb32-dfu-updater"; | ||
license = licenses.asl20; | ||
maintainers = [ maintainers.liketechnik ]; | ||
mainProgram = "wb32-dfu-updater_cli"; | ||
platforms = platforms.all; | ||
}; | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters