[Buildroot] [git commit] package/rwmem: new package
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Sun Aug 29 16:55:31 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=51a282bcb8dfc26d3a27723383c5a1767653a19d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
rwmem is small tool to read & write device registers. Some of the
features include:
- support mmaped and i2c devices
- addressing with 8/16/32/64 bit addresses
- accessing 8/16/32/64 bit memory locations
- little and big endian addressess and accesses
- bitfields
- address ranges
- register description database
Python bindings are disabled for now.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
package/Config.in | 1 +
package/rwmem/Config.in | 10 ++++++++++
package/rwmem/rwmem.hash | 2 ++
package/rwmem/rwmem.mk | 14 ++++++++++++++
4 files changed, 27 insertions(+)
diff --git a/package/Config.in b/package/Config.in
index 2dbe511de0..1fc8381048 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -134,6 +134,7 @@ menu "Debugging, profiling and benchmark"
source "package/ramsmp/Config.in"
source "package/ramspeed/Config.in"
source "package/rt-tests/Config.in"
+ source "package/rwmem/Config.in"
source "package/sentry-native/Config.in"
source "package/spidev_test/Config.in"
source "package/strace/Config.in"
diff --git a/package/rwmem/Config.in b/package/rwmem/Config.in
new file mode 100644
index 0000000000..0fd9142e92
--- /dev/null
+++ b/package/rwmem/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_RWMEM
+ bool "rwmem"
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_FMT
+ select BR2_PACKAGE_INIH
+ help
+ Simple program to read/write from/to any location in memory.
+
+ https://github.com/tomba/rwmem
diff --git a/package/rwmem/rwmem.hash b/package/rwmem/rwmem.hash
new file mode 100644
index 0000000000..9becbc5b21
--- /dev/null
+++ b/package/rwmem/rwmem.hash
@@ -0,0 +1,2 @@
+sha256 55d28f029c0cd5c21d3e1c89371e2905d5217f571ef5389ed0fce163804d1c4a rwmem-c8291705c82bb0686be9adf6a427a2b72114719a.tar.gz
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
diff --git a/package/rwmem/rwmem.mk b/package/rwmem/rwmem.mk
new file mode 100644
index 0000000000..24c4e92efc
--- /dev/null
+++ b/package/rwmem/rwmem.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# rwmem
+#
+################################################################################
+
+RWMEM_VERSION = c8291705c82bb0686be9adf6a427a2b72114719a
+RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION))
+RWMEM_LICENSE = GPL-2.0
+RWMEM_LICENSE_FILES = LICENSE
+RWMEM_CONF_OPTS = -Dpyrwmem=disabled
+RWMEM_DEPENDENCIES = host-pkgconf fmt inih
+
+$(eval $(meson-package))
More information about the buildroot
mailing list