package/mbpoll: new package

mbpoll is a tool that can be used to test communication
with modbus slave devices

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
[Thomas:
- add MBPOLL_LICENSE, MBPOLL_LICENSE_FILES
- add host-pkgconf to dependencies
- improve Config.in help text]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jon Ringle 2023-05-26 14:47:07 -04:00 committed by Thomas Petazzoni
parent f187fad22d
commit 6e9cfd5488
4 changed files with 25 additions and 0 deletions

View File

@ -124,6 +124,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"

8
package/mbpoll/Config.in Normal file
View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_MBPOLL
bool "mbpoll"
select BR2_PACKAGE_LIBMODBUS
help
mbpoll is a command line utility to communicate with ModBus
slave (RTU or TCP).
https://github.com/epsilonrt/mbpoll

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 046fdac2d88eddb71a1091a87d0a4bb23fee39595a929cde50c546dae0fbcd6d mbpoll-1.5.tar.gz
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING

13
package/mbpoll/mbpoll.mk Normal file
View File

@ -0,0 +1,13 @@
################################################################################
#
# mbpoll
#
################################################################################
MBPOLL_VERSION = 1.5
MBPOLL_SITE = $(call github,epsilonrt,mbpoll,v$(MBPOLL_VERSION))
MBPOLL_DEPENDENCIES = host-pkgconf libmodbus
MBPOLL_LICENSE = GPL-3.0+
MBPOLL_LICENSE_FILES = COPYING
$(eval $(cmake-package))