开云体育

Locked Re: Pi4B 64 bit and GPIO #rpi


 

开云体育

Unless there is an issue between 32bit and 64bit, I don’t understand either. If you can select Pi simulator you should be able to add GPIOs.?

Did you enable the GPIOs in the Raspian software?

appended the following line to???

export WIRINGPI_GPIOMEM=1

and added the following value to?

default_options="-Dpi4j.linking=dynamic

Without making those two additions RPi and JMRI won’t know the GPIOs exist. That is what I was telling you about Steve Todd’s website, he spells out all the additions needed for the RPi image.


?

On May 4, 2023, at 4:18 PM, Colin Head <headcol@...> wrote:

The image uses the 32 bit platform.
I just thought that as I have a 64 bit board I should use it, it also allows the use of extended memory.
The Jmri just refuses to select GPIO and states this error iscexpected when not running on a pi.
As I said a bit odd, I can select simulator so Mt pi gpio can be included in the sensor tables and scripts.? I won't let this beat me ...

Join [email protected] to automatically receive all group messages.