Clone this repo:

Branches

  1. 6975122 clang-format: update latest spec and reformat by Patrick Williams · 5 months ago master
  2. b7edf1c meson: reformat with meson formatter by Patrick Williams · 5 months ago
  3. 3a27d32 README.md: Fix MD040 warnings by George Liu · 1 year, 1 month ago
  4. 1d010e5 build: use allowed over enabled or not-disabled by Patrick Williams · 7 months ago
  5. 297b465 clang-format: re-format for clang-19 by Patrick Williams · 8 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