03-15-2018, 10:32 AM
Is there still work being done on porting WiringPi to the Pine64 platform? I've tried the code from the pfeerick link but that does not work.
https://github.com/pfeerick/wiringPi-Pine64
One thing I found was that the /proc/cpuinfo file does not have a 'Revision" line thus running an example bombs out. I tried to create my own cpuino file add a Revision line in the cpinfo file and change the line in the source code to reference this but it still does not recognize the Revision. I ended up grabbing a more current version of WiringPi and it has more Pi_MODEL entries in WiringPi.h so I tried to add an entry in there. Also, I had to add a Hardware entry for "sun50iw1p1" and was able to get something to sort of run but I am not sure it is correct.
Is there a working version of WiringPi for the Pine64 board?
https://github.com/pfeerick/wiringPi-Pine64
One thing I found was that the /proc/cpuinfo file does not have a 'Revision" line thus running an example bombs out. I tried to create my own cpuino file add a Revision line in the cpinfo file and change the line in the source code to reference this but it still does not recognize the Revision. I ended up grabbing a more current version of WiringPi and it has more Pi_MODEL entries in WiringPi.h so I tried to add an entry in there. Also, I had to add a Hardware entry for "sun50iw1p1" and was able to get something to sort of run but I am not sure it is correct.
Is there a working version of WiringPi for the Pine64 board?