-
Notifications
You must be signed in to change notification settings - Fork 128
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
cmake enabling LINUXGPIO on ubuntu 20.04 fails #1782
Comments
…4 support (refs avrdudes#1782) This ancient libgpiod version is still shipped on Ubuntu 20.04 LTS. Add support for it by adding another helper. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
You could have a look at the linked branch I pushed. But this is only compile tested against libgpiod v1.4 on a recent Ubuntu 22.04. |
It seems to me some distros are still shipping with older version of libgpiod. I am okay with bunping up the minimum libgpiod version to v1.6. But I will leave that decision to @stefanrueger. |
The question is whether it is necessary to support libgpiod stuff on all these distros - it was not the case until now, right? From my point of view, many users are using avrdude with GPIO stuff on Raspi and similar embedded platforms - so it might make sense to focus a little bit. On the other hand, the patch is small and I think keeping it for one or two releases might help. |
That looks good and works on ubuntu 20.04
Correct. However, the project prides itself on being backwards compatible, also just in the sense of its ability to build on a wide range of distros. 20.04 sounds old, but considering it's supported until 2030, there is ample justification to make AVRDUDE build, even if an older libgpiod is installed. @mhei Could you submit a PR with your branch, please?
There isn't a fixed schedule but we aim at twice a year (early Jan, early July) if there is enough interesting innovation to share.
We don't control any of that, but you could have a look at the repology.org page (https://repology.org/project/avrdude/versions): |
…4 support (refs avrdudes#1782) This ancient libgpiod version is still shipped on Ubuntu 20.04 LTS. Add support for it by adding another helper. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
After installing
libgpiod-dev
on ubuntu 20.04 (long-term-support until April 2030), cmake enabling LINUXGPIO fails to build:gpiod_line_set_direction_input()
is missing inlibgpiod
. @mhei @mcuee Any ideas how to solve this?The text was updated successfully, but these errors were encountered: