From 26b6be72c73cbd1521ada65d4d7c82dce355cb85 Mon Sep 17 00:00:00 2001 From: Stefan Hellermann Date: Wed, 7 Oct 2015 08:40:37 +0200 Subject: [PATCH] add dfu-programmer dfu-programmer is a Device Firmware Update based USB programmer for Atmel chips with a USB bootloader. It's comparable to avrdude, but optimized for Atmel chips with integrated USB DFU Bootloader. Signed-off-by: Stefan Hellermann --- utils/dfu-programmer/Makefile | 45 +++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 utils/dfu-programmer/Makefile diff --git a/utils/dfu-programmer/Makefile b/utils/dfu-programmer/Makefile new file mode 100644 index 000000000..153c69f71 --- /dev/null +++ b/utils/dfu-programmer/Makefile @@ -0,0 +1,45 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=dfu-programmer +PKG_VERSION:=0.7.2 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/$(PKG_VERSION)/ +PKG_MD5SUM:=98641b0a7cf1cc8c8be3584d5552f6d8 + +PKG_MAINTAINER:=Stefan Hellermann +PKG_LICENSE:=GPL-2.0 +PKG_LICENSE_FILES:=COPYING + +PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/dfu-programmer + SECTION:=utils + CATEGORY:=Utilities + TITLE:=USB programmer for Atmel microcontrollers + URL:=http://dfu-programmer.github.io/ + DEPENDS:=+libusb-1.0 +endef + +define Package/dfu-programmer/description + dfu-programmer is a Device Firmware Update (DFU) based USB programmer + for Atmel chips with a USB bootloader. +endef + +define Package/dfu-programmer/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,dfu-programmer))