From: Guillermo Rodriguez <guille.rodriguez@gmail.com>
To: ptxdist@pengutronix.de
Cc: Guillermo Rodriguez <guille.rodriguez@gmail.com>
Subject: [ptxdist] [PATCH v2] stm32flash: New package
Date: Sat, 6 Oct 2018 19:14:31 +0200 [thread overview]
Message-ID: <1538846071-18890-1-git-send-email-guille.rodriguez@gmail.com> (raw)
In-Reply-To: <1538731545-10049-1-git-send-email-guille.rodriguez@gmail.com>
Open source cross platform flash program for the STM32 ARM
microcontrollers using the built-in ST serial bootloader over UART
or I2C.
Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
---
rules/stm32flash.in | 9 +++++++++
rules/stm32flash.make | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
create mode 100644 rules/stm32flash.in
create mode 100644 rules/stm32flash.make
diff --git a/rules/stm32flash.in b/rules/stm32flash.in
new file mode 100644
index 0000000..877eed3
--- /dev/null
+++ b/rules/stm32flash.in
@@ -0,0 +1,9 @@
+## SECTION=shell_and_console
+
+config STM32FLASH
+ tristate
+ prompt "stm32flash"
+ help
+ Open source cross platform flash program for the STM32 ARM
+ microcontrollers using the built-in ST serial bootloader over UART
+ or I2C.
diff --git a/rules/stm32flash.make b/rules/stm32flash.make
new file mode 100644
index 0000000..a767a5f
--- /dev/null
+++ b/rules/stm32flash.make
@@ -0,0 +1,56 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Guillermo Rodriguez <guille.rodriguez@gmail.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_STM32FLASH) += stm32flash
+
+#
+# Paths and names
+#
+STM32FLASH_VERSION := 0.5
+STM32FLASH_SUFFIX := tar.gz
+STM32FLASH_MD5 := 40f673502949f3bb655d2bcc539d7b6a
+STM32FLASH := stm32flash-$(STM32FLASH_VERSION)
+STM32FLASH_URL := $(call ptx/mirror, SF, stm32flash/$(STM32FLASH).$(STM32FLASH_SUFFIX))
+STM32FLASH_DIR := $(BUILDDIR)/$(STM32FLASH)
+STM32FLASH_SOURCE := $(SRCDIR)/$(STM32FLASH).$(STM32FLASH_SUFFIX)
+STM32FLASH_LICENSE := GPLv2
+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+STM32FLASH_CONF_TOOL := NO
+STM32FLASH_MAKE_ENV := $(CROSS_ENV)
+STM32FLASH_INSTALL_OPT := PREFIX=/usr install
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/stm32flash.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, stm32flash)
+ @$(call install_fixup, stm32flash, PRIORITY,optional)
+ @$(call install_fixup, stm32flash, SECTION,base)
+ @$(call install_fixup, stm32flash, AUTHOR,"Guillermo Rodriguez <guille.rodriguez@gmail.com>")
+ @$(call install_fixup, stm32flash, DESCRIPTION,missing)
+
+ @$(call install_copy, stm32flash, 0, 0, 0755, -, /usr/bin/stm32flash)
+
+ @$(call install_finish, stm32flash)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.5.4 (Apple Git-61)
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2018-10-06 17:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-05 9:25 [ptxdist] [PATCH] " Guillermo Rodriguez
2018-10-05 10:30 ` Roland Hieber
2018-10-05 10:43 ` Guillermo Rodriguez Garcia
2018-10-05 12:07 ` Roland Hieber
2018-10-05 14:04 ` Michael Olbrich
2018-10-06 17:05 ` Guillermo Rodriguez Garcia
2018-10-06 17:14 ` Guillermo Rodriguez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1538846071-18890-1-git-send-email-guille.rodriguez@gmail.com \
--to=guille.rodriguez@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox