commit | 4d40f76459ee1cec5a3568ec0ee919b38f4ef31b | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Sep 20 13:23:50 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Sep 20 13:24:06 2018 -0700 |
tree | aad67133c6a239c6d00479a8f66e865b4b9d5892 | |
parent | 43171e3dc64b8608f348af96c06e0b5779c70bb9 [diff] |
{event,handle}: Clarify object lifetime requirements It was unclear from the current docuemntation that Handles and Events do not depend on the Chip or their input flags remaining alive during the lifetime of the object. This makes that more clear. Change-Id: I9831d7ffd095045a0a381b9863ce684bab22baae Signed-off-by: William A. Kennington III <wak@google.com>
gpioplus is a c++ wrapper around the linux gpio ioctl interface. It aims to provide c++ ergonomics to the usage.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-tests make make install
For a test / debug build, a typical configuration is
./bootstrap.sh ./configure --enable-tests --enable-coverage --enable-valgrind make make check make check-valgrind make check-code-coverage