Browse Source

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 <stefan@the2masters.de>
lilik-openwrt-22.03
Stefan Hellermann 9 years ago
committed by Karl Palsson
parent
commit
26b6be72c7
1 changed files with 45 additions and 0 deletions
  1. +45
    -0
      utils/dfu-programmer/Makefile

+ 45
- 0
utils/dfu-programmer/Makefile View File

@ -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 <stefan@the2masters.de>
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))

Loading…
Cancel
Save