Is it possible to change which GPIO pins the ATXRaspi uses?

Started by konp, May 23, 2017, 06:41:36 AM

konp

Currently it uses 7 and 8, but unfortunately in the project I'm building those pins are already spoken for. However, there's a handful of others that aren't.

Is it at all possible to change those two pins to two of the "spare" ones? If so, how would I go about that?

Felix

Sorry for the late reply to this.

Yes, it's possible.

You have to choose other pins and then change the shutdown script to those pins.
When you pick the new GPIO verify the BootOK signal will be pulled LOW by your distribution once the shutdown is complete. This is done automatically by the OS for the default pins.

konp

Quote from: Felix on May 24, 2017, 11:22:53 PM
Sorry for the late reply to this.

Yes, it's possible.

You have to choose other pins and then change the shutdown script to those pins.
When you pick the new GPIO verify the BootOK signal will be pulled LOW by your distribution once the shutdown is complete. This is done automatically by the OS for the default pins.

Any idea if this would work with RetroPie? AFAIK that's built on top of Raspbian.

Felix

You will have to try, I haven't done it, I know others did and it worked.

konp

Forgive me if this is a dumb question, but how do I make sure the distribution is using the pins I tell it to?

Felix