BPi M4 GPIO library

@sinovoip

It seems that the library at https://github.com/BPI-SINOVOIP/BPI-WiringPi2 is not compatible with the M4.

Can someone please guide me in working with the GPIO pins on the M4?

Thanks!

Install gpiod and then you can use the standard linux gpio library calls (gpiodetect, gpioinfo, gpioset, gpioget, etc.).

I have same problem how do u fix it? I use raspbian-stretch-bpi