Python RPi and GPIO on M5


It looks like that the repository for RPGPIO doesn’t support bananapi m5

After installing, it gives: $ python3 import RPi.GPIO as GPIO BPI: gpioLayout(-1) Traceback (most recent call last): File “”, line 1, in File “/usr/local/lib/python3.8/dist-packages/RPi/GPIO/”, line 23, in from RPi._GPIO import * RuntimeError: This module can only be run on a Raspberry Pi!

I see that there is support for other boards including M3:

Can you add support for M5 too ?

Thank you, Roberto