summaryrefslogtreecommitdiff
path: root/gnu/packages/flashing-tools.scm
diff options
context:
space:
mode:
authorManolis Ragkousis <manolis837@gmail.com>2014-09-29 13:27:30 +0300
committerLudovic Courtès <ludo@gnu.org>2014-10-02 10:46:29 +0200
commit2a9a4fb8b7ae519a7d28a1e6b96e0a0a5aed3201 (patch)
tree58fb8389281a7348dda06c857fd2e6c74daf279c /gnu/packages/flashing-tools.scm
parent4b91ce2974c9f5b0b63e53fb484146b3a137c643 (diff)
gnu: Add dfu-programmer
* gnu/packages/flashing-tools.scm (dfu-programmer): New variable. * gnu/packages/patches/dfu-programmer-fix-libusb.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/flashing-tools.scm')
-rw-r--r--gnu/packages/flashing-tools.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index d2f1b469b6..648430ad5a 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -104,3 +104,26 @@ programmer devices.")
EEPROM contents of AVR microcontrollers using the in-system programming
technique (ISP).")
(license gpl2+)))
+
+(define-public dfu-programmer
+ (package
+ (name "dfu-programmer")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/dfu-programmer/dfu-programmer-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "17lglglk5xrqd2n0impg5bkq4j96qc51cw3kzcghzmzmn6fvg3gf"))
+ (patches (list (search-patch "dfu-programmer-fix-libusb.patch")))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("libusb" ,libusb)))
+ (home-page "http://dfu-programmer.github.io/")
+ (synopsis "Device firmware update programmer for Atmel chips")
+ (description
+ "Dfu-programmer is a multi-platform command-line programmer for Atmel
+(8051, AVR, XMEGA & AVR32) chips with a USB bootloader supporting ISP")
+ (license gpl2+)))