Anyone interested in the gpiolib (WiringPi substitute) API, here it is:
toggle quoted message
Show quoted text
On 1/2/24 10:53, Rafael Diniz wrote:
Btw, this code could be integrated to Farhan' s code at some point-? if there is interest - as it will support all Raspberry Pi versions. But I'll not do userland I2C bit-banging, as in my current code. Concerning WiringPi on Debian 12 -? my fork already supports it, just like in Debian 11 (but use my fork! Upstream is already broken in newer kernels).
- Rafael
On 1/2/24 10:49, Rafael Diniz wrote:
Evan,
WiringPi would need a good rewrite for supporting the Pi 5. That being said, It works fine on Debian 12 (Bookworm) based system, but on Pi versions <= 4.
So for now I'm basing my sbitx software for the Pi 5 in the pinctr software, which is the closest to WiringPi we can get (I tried libgpiod, but then we'll also need separate code for changing pin modes...):
I'm working on porting the code right now. My Pi 5 arrived! It is soooo much faster... loved it.
: ))
73,
Rafael
On 12/31/23 15:27, Evan Hand wrote:
Ken,
WiringPi is the GPIO software that the mainstream Raspberry Pi organization does not support.
Rafael Diniz has a GitHub site that can be used to add it to the Bookworm OS.? Here is the message with the link:
/g/BITX20/message/105650
Another effort is to change the sBitx code to use the newer libraries like Pigpio or libgpiod?currently supported with the Raspberry Bookworm os-release (Debian).
/g/BITX20/message/106799
Based on what Farhan has said in the past, I do not see a migration to the RPi 5 in the near future.? The next effort could very well be a V4 based on the Raspberry Pi Zero 2W to reduce the cost further.? I would support this effort as getting a radio like the sBitx into the hands of budget-constrained Hams is good!? We need to promote open-source SDR.
73
Evan
AC9TU