Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpio: add support for libgpiod 2.x #249

Closed
wants to merge 1 commit into from
Closed

Conversation

jpalus
Copy link
Contributor

@jpalus jpalus commented Jan 1, 2024

Add support for libgpiod >=2 which overhauled API (in parallel with support for libgpiod 1.x).

Tested on Raspberry Pi Zero 2 with libgpiod 2.1.

@mdevaev
Copy link
Member

mdevaev commented Jan 2, 2024

Thanks, but I've already done the implementation of this in my private branch.

pld-gitsync pushed a commit to pld-linux/ustreamer that referenced this pull request Jan 2, 2024
- verbose build already upstream - to be removed with upgrade to next
  version (pikvm/ustreamer#251)
- libgpiod >= 2 support rejected in favor of upstream implementation
  although the latter is not committed yet. to be removed once it hits
  release (pikvm/ustreamer#249)
@mdevaev mdevaev closed this Jan 7, 2024
mdevaev added a commit that referenced this pull request Jan 7, 2024
Thanks for @jpalus for #249 with compatibility code
@mdevaev
Copy link
Member

mdevaev commented Jan 7, 2024

Thanks. I've added ifdefs to my code for backward compatibility: d9b5f2b

@mdevaev mdevaev self-assigned this Jan 7, 2024
@mdevaev mdevaev added type:feature New feature or request resolution:fixed Fixed labels Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:fixed Fixed type:feature New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

2 participants