Closed jperedadnr closed 3 months ago
Pigpio does not support Pi5. the group that owns that provider never committed to the rerwrite to use the new RP1 chip.
On the pi4j web it documents the providers available for pi5 versus the previous pi models.
https://www.pi4j.com/documentation/providers/
All that said there is no serial support provided by the pi4j code for the pi5. See this discussion about some of the reasoning and an alternative.
https://github.com/Pi4J/pi4j-v2/discussions/356
Tom
Thanks for your quick reply.
https://www.pi4j.com/documentation/providers/pigpio/ doesn't indicate that it doesn't work with Pi5 (but you are right, it can be seen here: https://www.pi4j.com/documentation/providers/)
I already saw the thread about using jSerialComm, but I was still hoping for a hint that would let me keep using Pi4J.
We can close this issue then.
Yes. That page dedicated to pigpio could use a warning about pi5 I will add that detail
I'm running on a Raspberry Pi 5, with latest OS (from July 2024).
I'm trying to get access to the Serial Port, following the code in https://www.pi4j.com/documentation/io-examples/serial/
I have a NEO-7M GPS module plugged to the UART, and the device is working just fine:
As part of the discussion here: https://github.com/Pi4J/pi4j-v2/discussions/136 or the recommendation here: https://www.pi4j.com/getting-started/minimal-example-application-fatjar/, I'm doing a fat jar and running with sudo.
In any case I get:
Any help would be appreciated.