mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Add lufa-hid-bootloader-cli.
* gnu/packages/avr-xyz.scm (lufa-hid-bootloader-cli): New variable. Change-Id: I3c87cd58bfc04a6ee72aeff0c8900942e7a3214d
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#:use-module (gnu packages elf)
|
||||
#:use-module (gnu packages gl)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages libusb)
|
||||
#:use-module (gnu packages llvm)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages version-control)
|
||||
@@ -195,6 +196,31 @@ compatible microcontroller models, as well as the demos and the
|
||||
documentation.")
|
||||
(license license:expat))) ;see LUFA/License.txt
|
||||
|
||||
(define-public lufa-hid-bootloader-cli
|
||||
(package
|
||||
(inherit lufa)
|
||||
(name "lufa-hid-bootloader-cli")
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"))
|
||||
(arguments
|
||||
(list #:tests? #f ;; no tests
|
||||
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
||||
"-C" "Bootloaders/HID/HostLoaderApp")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'install
|
||||
(lambda _
|
||||
(install-file "Bootloaders/HID/HostLoaderApp/hid_bootloader_cli"
|
||||
(string-append #$output "/bin")))))))
|
||||
(inputs
|
||||
(list libusb-compat))
|
||||
(synopsis "Firmware uploader for the LUFA HID bootloader")
|
||||
(description
|
||||
"The LUFA HID loader program communicates with the LUFA HID bootloader to
|
||||
upload new firmware.")
|
||||
(license license:gpl3)))
|
||||
|
||||
(define-public microscheme
|
||||
(package
|
||||
(name "microscheme")
|
||||
|
||||
Reference in New Issue
Block a user