Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Documentation/gpio-linux-libgpiod.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,19 @@ for (int i = 0; i < 5; i++)

## libgpiod version support

Currently (12/23) dotnet-iot supports v0, v1 and v2 of libgpiod.
Dotnet-iot supports v0, v1 and v2 of libgpiod.

The following table shows which driver supports which library version

| LibGpiodDriverVersion | Libgpiod version (documented) |
| --------------------- | ----------------------------- |
| V1 | 0.x to 1.x |
| V1 | 0.x to 1.0.x (Partial support) 1.1 - 1.x (Supported)|
| V2 | 2.x |

NOTE: Due to a [breaking change in the values of enums in the libgpiod](
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/commit/?id=783ff2e3c70788cdd1c65cba9ee0398bda5ebcda), only libgpiod versions 1.1 and later can be expected to function reliably with the V1 driver.
To check what libgpiod packages you have on a deb based system, use: ``` $apt show libgpiod* ```

## Choose LibGpiodDriver Version

If you want to explicitly select the version of the libgpiod driver, to target a specific library version, there are following options:
Expand Down
Loading