From 5a7bd4afa3737ed2ee0b774e21c630d1e596c300 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 21 Jan 2013 15:27:34 +0000 Subject: [PATCH] [packages] new package: stm32flash - tool for flashing STM32 controllers Signed-off-by: Michael Heimpold git-svn-id: svn://svn.openwrt.org/openwrt/packages@35268 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/stm32flash/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 utils/stm32flash/Makefile diff --git a/utils/stm32flash/Makefile b/utils/stm32flash/Makefile new file mode 100644 index 000000000..4779defff --- /dev/null +++ b/utils/stm32flash/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (C) 2012 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:=stm32flash +PKG_REV:=61 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://stm32flash.googlecode.com/svn/trunk +PKG_SOURCE_SUBDIR:=stm32flash-$(PKG_VERSION) +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_PROTO:=svn + +include $(INCLUDE_DIR)/package.mk + +define Package/stm32flash + SECTION:=utils + CATEGORY:=Utilities + URL:=http://code.google.com/p/stm32flash/ + TITLE:=Firmware flash tool for STM32's serial bootloader +endef + +define Package/stm32flash/description + This tool can be used to burn firmware images to STM32 ARM processors + using the built-in serial bootloader. +endef + +define Package/stm32flash/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/stm32flash $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,stm32flash)) -- 2.11.0