bindings: rust: examples: add a reimplementation of gpionotify
PATCH 1/1 bindings: rust: examples: add a reimplementation of gpionotify
From: Bartosz Golaszewski <[email protected]>
Add a new rust example - a simplified reimplementation of the gpionotify tool.
Signed-off-by Bartosz Golaszewski <[email protected]>
---
Viresh, please take a look at my attempt at a rust sample. :)
bindings/rust/libgpiod/examples/Makefile.am | 1 + bindings/rust/libgpiod/examples/gpionotify.rs | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 bindings/rust/libgpiod/examples/gpionotify.rs
bindings/rust/libgpiod/examples/Makefile.am +1 -0
@@ -9,6 +9,7 @@ EXTRA_DIST = \ gpioget.rs \ gpioinfo.rs \ gpiomon.rs \ + gpionotify.rs \ gpioset.rs \ gpio_threaded_info_events.rs \ gpiowatch.rs
bindings/rust/libgpiod/examples/gpionotify.rs new file +53 -0
53 lines not on this page · raw message
Signature · 1 line
2.37.2
Quoted 5 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
Add a new rust example - a simplified reimplementation of the gpionotify tool.
Quoted 8 lines
Signed-off-by Bartosz Golaszewski <[email protected]>---
Viresh, please take a look at my attempt at a rust sample. :)bindings/rust/libgpiod/examples/Makefile.am | 1 + bindings/rust/libgpiod/examples/gpionotify.rs | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 bindings/rust/libgpiod/examples/gpionotify.rs
Acked-by Viresh Kumar <[email protected]>
Signature · 1 line
viresh