Clone this repo:

Branches

  1. 3a27d32 README.md: Fix MD040 warnings by George Liu · 9 months ago master
  2. 1d010e5 build: use allowed over enabled or not-disabled by Patrick Williams · 2 months ago
  3. 297b465 clang-format: re-format for clang-19 by Patrick Williams · 4 months ago
  4. b80c584 clang-format: re-format for clang-18 by Patrick Williams · 8 months ago
  5. 9121442 Fix spelling mistakes using codespell by Manojkiran Eda · 10 months ago

gpioplus

gpioplus is a c++ wrapper around the linux gpio ioctl interface. It aims to provide c++ ergonomics to the usage.

Building

For a standard release build, you want something like:

meson setup -Dexamples=false -Dtests=disabled builddir
ninja -C builddir
ninja -C builddir install

For a test / debug build, a typical configuration is

meson setup -Dtests=enabled builddir
meson test -C builddir