You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

10 years ago
10 years ago
10 years ago
10 years ago
  1. #
  2. # Copyright (C) 2012-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=stm32flash
  9. PKG_VERSION:=0.4
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://releases.stm32flash.googlecode.com/git
  13. PKG_HASH:=023f28b01f644edc235c8815a4352e359d3ebdbe6368aaf6bbc28bab3e6ffa5b
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
  15. PKG_MAINTAINER:=Christian Pointner <equinox@spreadspace.org>
  16. PKG_LICENSE:=GPL-2.0+
  17. PKG_LICENSE_FILES:=gpl-2.0.txt
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/stm32flash
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. SUBMENU:=Microcontroller programming
  23. URL:=http://code.google.com/p/stm32flash/
  24. TITLE:=Firmware flash tool for STM32's serial bootloader
  25. endef
  26. define Package/stm32flash/description
  27. This tool can be used to burn firmware images to STM32 ARM processors
  28. using the built-in serial bootloader.
  29. endef
  30. define Package/stm32flash/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/stm32flash $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,stm32flash))