PINE64
GPIO and SPI - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32)
+---- Forum: Pi2, Euler and Exp GPIO Ports (https://forum.pine64.org/forumdisplay.php?fid=34)
+---- Thread: GPIO and SPI (/showthread.php?tid=2074)

Pages: 1 2 3


RE: GPIO and SPI - jomoengineer - 03-15-2018

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?