Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Update WiringPi to run into Raspbian Buster and Raspberry Pi 4B #8

Open
k3z0 opened this issue Jul 26, 2019 · 8 comments
Open

Update WiringPi to run into Raspbian Buster and Raspberry Pi 4B #8

k3z0 opened this issue Jul 26, 2019 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@k3z0
Copy link
Collaborator

k3z0 commented Jul 26, 2019

It is necessary to use a new version of WiringPi 2.52 in order to get the library working in Raspbian Buster and the Raspberry Pi 4B.

More info

@k3z0 k3z0 added the enhancement New feature or request label Jul 26, 2019
@k3z0 k3z0 self-assigned this Jul 26, 2019
@k3z0
Copy link
Collaborator Author

k3z0 commented Jul 26, 2019

I was modifying the latest version of WiringPi available in its repository. I need to make some custom changes in order to support the second SPI bus available in the Raspberry Pi (spidev1.0). I already compiled the library, nevertheless, I couldn't make it properly run in the Raspberry.

I will continue working to solve this issue.

@k3z0
Copy link
Collaborator Author

k3z0 commented Jul 29, 2019

We already update to use WiringPi 2.50 but it is not clear when will the sources for version 2.52 be available. We could use version 2.52 without the custom SPI changes following the instructions here

@k3z0
Copy link
Collaborator Author

k3z0 commented Dec 12, 2019

It is not clear if the last version of WiringPi will be available since the author said that WiringPi is now deprecated.

@BobKruse
Copy link

k3z0,
If someone would publish a fork of the latest available version, perhaps your copy of the 2.50 download, onto github, a community could take over the responsibility of maintaining a fork of wiringpi, so that Gordon doesn't receive more interruptions.
It should probably be renamed, with credit to wiringPi and to Gordon, so it's clearly not supported by him.

I'd hate to see the project die.

@fbjerggaard
Copy link

@k3z0 Could you please publish the latest release to nuget as to support the Raspberri Pi 4B properly? I tried manually using the latest source in my project and then my project ran without issues.

@geoperez
Copy link
Member

You can check version 0.5.1 (https://www.nuget.org/packages/Unosquare.WiringPi/0.5.1)

@JamesG3D
Copy link

It looks like Unosquare.WiringPi Version 0.5.1 uses libwiringPi.so.2.52. What source was used to compile the 2.52 version of wiring pi? Was it from https://project-downloads.drogon.net (seems it is now taken down)?

I found this git: https://github.com/WiringPi/WiringPi , but they've jumped from 2.50 to 2.60. I tried changing the version number to 2.52 and re-compiling it, it output a file named libwiringPi.so.2.52, and `sudo gpio -v' shows the version as 2.52, but I still get an error:

 System.DllNotFoundException: Unable to load shared library 'libwiringPi.so.2.52' or one of its dependencies.

@geoperez
Copy link
Member

We are looking for maintainers, you can apply at https://adoptoposs.org/p/67b02bee-a00e-446a-a321-c1a6449014bc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants