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.

45 lines
1.1 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 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.6
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_HASH:=ee9b40d4d3e5cd28b993e08ae2a2c3c559b6bea8730cd7e1d40727dedb1dda09
  14. PKG_MAINTAINER:=Christian Pointner <equinox@spreadspace.org>
  15. PKG_LICENSE:=GPL-2.0-or-later
  16. PKG_LICENSE_FILES:=gpl-2.0.txt
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/stm32flash
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. SUBMENU:=Microcontroller programming
  24. URL:=https://sourceforge.net/projects/stm32flash
  25. TITLE:=Firmware flash tool for STM32's serial bootloader
  26. endef
  27. define Package/stm32flash/description
  28. This tool can be used to burn firmware images to STM32 ARM processors
  29. using the built-in serial bootloader.
  30. endef
  31. define Package/stm32flash/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stm32flash $(1)/usr/bin/
  34. endef
  35. $(eval $(call BuildPackage,stm32flash))