From: Torben Voltmer <mail@t-voltmer.net>
To: buildroot@buildroot.org
Cc: Torben Voltmer <mail@t-voltmer.net>
Subject: [Buildroot] [PATCH 1/1] package/espflash: new package
Date: Mon, 15 Jul 2024 21:46:35 +0200 [thread overview]
Message-ID: <20240715194635.949193-1-mail@t-voltmer.net> (raw)
This package provides espflash. A serial flasher utilities for
Espressif devices, based loosely on esptool.py. Supports the
ESP32, ESP32-C2/C3/C6, ESP32-H2, ESP32-P4, and ESP32-S2/S3.
Signed-off-by: Torben Voltmer <mail@t-voltmer.net>
---
package/Config.in | 1 +
package/espflash/Config.in | 10 ++++++++++
package/espflash/espflash.hash | 4 ++++
package/espflash/espflash.mk | 13 +++++++++++++
4 files changed, 28 insertions(+)
create mode 100644 package/espflash/Config.in
create mode 100644 package/espflash/espflash.hash
create mode 100644 package/espflash/espflash.mk
diff --git a/package/Config.in b/package/Config.in
index 6c390f7bd3..dfd598d626 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -508,6 +508,7 @@ endmenu
source "package/edk2-non-osi/Config.in"
source "package/edk2-platforms/Config.in"
source "package/esp-hosted/Config.in"
+ source "package/espflash/Config.in"
source "package/eudev/Config.in"
source "package/ev3dev-linux-drivers/Config.in"
source "package/evemu/Config.in"
diff --git a/package/espflash/Config.in b/package/espflash/Config.in
new file mode 100644
index 0000000000..2a7a0f6b38
--- /dev/null
+++ b/package/espflash/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_ESPFLASH
+ bool "espflash"
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+ select BR2_PACKAGE_HOST_RUSTC
+ help
+ Serial flasher utilities for Espressif devices, based
+ loosely on esptool.py. Supports the ESP32,
+ ESP32-C2/C3/C6, ESP32-H2, ESP32-P4, and ESP32-S2/S3.
+
+ https://github.com/esp-rs/espflash
diff --git a/package/espflash/espflash.hash b/package/espflash/espflash.hash
new file mode 100644
index 0000000000..ebe24ef51f
--- /dev/null
+++ b/package/espflash/espflash.hash
@@ -0,0 +1,4 @@
+# Locally calculated
+sha256 8e5da5e90d03135a1b2af6c0b551e4f2504ad64e659b0e88e8a4ecd98cc6a6b6 espflash-3.1.0-cargo2.tar.gz
+sha256 0886cf791a43c02d71c105b4835b53293704ec407a72f84a87f73e20cb2d3251 LICENSE-APACHE
+sha256 a75018ab59a13738ed2024a0090ae8f91b7693ae84568aa0e52c3dff99e6748d LICENSE-MIT
diff --git a/package/espflash/espflash.mk b/package/espflash/espflash.mk
new file mode 100644
index 0000000000..43532de58c
--- /dev/null
+++ b/package/espflash/espflash.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# espflash
+#
+################################################################################
+
+ESPFLASH_VERSION = 3.1.0
+ESPFLASH_SITE = $(call github,esp-rs,espflash,v$(ESPFLASH_VERSION))
+ESPFLASH_SUBDIR = espflash
+ESPFLASH_LICENSE = Apache-2.0 or MIT
+ESPFLASH_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
+
+$(eval $(cargo-package))
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2024-07-15 19:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-15 19:46 Torben Voltmer [this message]
2024-07-17 21:34 ` [Buildroot] [PATCH 1/1] package/espflash: new package Thomas Petazzoni via buildroot
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=20240715194635.949193-1-mail@t-voltmer.net \
--to=mail@t-voltmer.net \
--cc=buildroot@buildroot.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.