Open jhjames3 opened 4 years ago
Yeah, thanks for pointing this out, I knew about the new interface but didn't know they already planned a deadline for deprecating it. Definitely will be implemented, in both v1 and v2 (that will come out of beta soon, since I've other projects to work on in 2020).
(And for those reading this, this matters only for boards other than the Raspberry Pi, no modifications needed for the Pi memory registers interface).
Board Type
Raspberry PI but not applicable
Operating System
Linux
Swift Version
I use prebuilt binaries
Description
_sysfs GPIO is deprecated and will be removed in 2020, so maybe it is time to update your lib if you are still interested in maintaining it. Thanks for your consideration John James k1ym
Video explaining the interface https://www.youtube.com/watch?v=BK6gOLVRKuU
New GPIO Interface for User Space - Bartosz Golaszewski, BGDev https://www.youtube.com/watch?v=cdTLewJCL1Y&list=PLbzoR-pLrL6pISWAq-1cXP4_UZAyRtesk&index=56
Https://git.kernal.org/pub/scm/libs/libgpiod/libgpiod.git
=== https://www.beyondlogic.org/an-introduction-to-chardev-gpio-and-libgpiod-on-the-raspberry-pi/ An Introduction to chardev GPIO and Libgpiod on the Raspberry PI