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
WiringPi is now deprecated #196
Comments
Sorry, at the moment we don't have any alternative -- the most common alternative option is to use python but the firmware is not written in python so this isn't feasible. At the moment you can still install wiringPi using apt-get install, which is already included in the build.sh script. If they discontinue this in the future, a possible solution is to write a python script that handles gpio functions and have the firmware call the script through a system() call. |
Can you please reopen this, wiringpi has indeed been removed from recent versions of raspberry pi os, and not installable via apt. |
OK, I will keep this open. I suppose you are referring to raspbian bullseye which is the newest version of raspbian. I believe wiringpi is still installable via api on buster. So unless if you must use bullseye, just use buster. |
This really is an issue. Even though Debian Buster is a LTS release, it will eventually be deprecated. Enforcing old software to support a library abandoned by its own creator creates a huge technical debt and it will just get worse in time. |
As a workaround, you can find .deb archive on the authors web site, just read the blog. I wouldn't count on it for them being available that way for long, though. Anyways, the .deb file seems to work with bullseye. BTW, |
It looks like some people picked it up. Not saying it shouldn't be replaced, but this may help in the interim:https://github.com/WiringPi/WiringPi |
Hi there, now the original wiringPi Website is completely gone. The Library is also not anymore listed in the debian package search debian package search. I tried to install the mirror version which went fine, but i am not sure if the normal compilation did take it up. As @roben pointed out, the build script doesn't even stop compiling Opensprinkler in case the apt install went wrong. With this stated is it currently even possible to install a new OsPI? BG Mathias |
Agreed, WiringPi isn't viable any ore and an alternative needs to be sought. |
WiringPi is here available: http://wiringpi.com/download-and-install/ |
No the link is dead. As above, there are only some unofficial mirrors left. |
Ugh, I found this because I followed the official installation instructions. I installed default RaspiOS (bullseye, 32-bit), but then the install script couldn't install the wireingpi package.
It's not a great user experience to land in this deprecation hole. Thanks anyway for this project and I hope maintenance will continue some day! |
Btw, this is how I got it installed it on RPi OS bullseye just now:
|
I found that raspi-gpio command is now available in the latest raspbian and that can replace wiringPi for turning on pull-up/pull-down of any GPIO. This will be integrated into the next version of the firmware. |
Awesome, thanks! |
This fix has been integrated into 2.1.9(11). I tested it on my RPi 0 W, which seems to work. I don't have any newer RPis for testing due to the ongoing shortage, but I am hopeful that it should work for all RPis running Bullseye. |
the WiringPi library now deprecated, and an alternative should be used: http://wiringpi.com/wiringpi-deprecated/
Are there any temporary workarounds for new installs?
The text was updated successfully, but these errors were encountered: