From: jonringle@gmail.com
To: buildroot@buildroot.org
Cc: Jon Ringle <jringle@gridpoint.com>, Samuel Martin <s.martin49@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/mbpoll: new package
Date: Fri, 26 May 2023 14:47:07 -0400 [thread overview]
Message-ID: <20230526184707.53781-1-jonringle@gmail.com> (raw)
From: Jon Ringle <jringle@gridpoint.com>
mbpoll is a tool that can be used to test communication
with modbus slave devices
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
package/Config.in | 1 +
package/mbpoll/Config.in | 5 +++++
package/mbpoll/mbpoll.hash | 3 +++
package/mbpoll/mbpoll.mk | 11 +++++++++++
4 files changed, 20 insertions(+)
create mode 100644 package/mbpoll/Config.in
create mode 100644 package/mbpoll/mbpoll.hash
create mode 100644 package/mbpoll/mbpoll.mk
diff --git a/package/Config.in b/package/Config.in
index 420ebaa370..cfc7c4ed91 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -125,6 +125,7 @@ menu "Debugging, profiling and benchmark"
source "package/lttng-babeltrace/Config.in"
source "package/lttng-modules/Config.in"
source "package/lttng-tools/Config.in"
+ source "package/mbpoll/Config.in"
source "package/mbw/Config.in"
source "package/mcelog/Config.in"
source "package/memstat/Config.in"
diff --git a/package/mbpoll/Config.in b/package/mbpoll/Config.in
new file mode 100644
index 0000000000..b0d7be1c4d
--- /dev/null
+++ b/package/mbpoll/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_MBPOLL
+ bool "mbpoll"
+ select BR2_PACKAGE_LIBMODBUS
+ help
+ mbpoll utility to test modbus
diff --git a/package/mbpoll/mbpoll.hash b/package/mbpoll/mbpoll.hash
new file mode 100644
index 0000000000..d72ebee7b8
--- /dev/null
+++ b/package/mbpoll/mbpoll.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 046fdac2d88eddb71a1091a87d0a4bb23fee39595a929cde50c546dae0fbcd6d mbpoll-1.5.tar.gz
+sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING
diff --git a/package/mbpoll/mbpoll.mk b/package/mbpoll/mbpoll.mk
new file mode 100644
index 0000000000..e1a71bed09
--- /dev/null
+++ b/package/mbpoll/mbpoll.mk
@@ -0,0 +1,11 @@
+################################################################################
+#
+# mbpoll
+#
+################################################################################
+
+MBPOLL_VERSION = 1.5
+MBPOLL_SITE = $(call github,epsilonrt,mbpoll,v$(MBPOLL_VERSION))
+MBPOLL_DEPENDENCIES = libmodbus
+
+$(eval $(cmake-package))
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2023-05-26 18:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-26 18:47 jonringle [this message]
2023-07-28 21:35 ` [Buildroot] [PATCH 1/1] package/mbpoll: 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=20230526184707.53781-1-jonringle@gmail.com \
--to=jonringle@gmail.com \
--cc=buildroot@buildroot.org \
--cc=jringle@gridpoint.com \
--cc=s.martin49@gmail.com \
/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.