Hello,
I’ve flashed a Bpi-m2-zero with Raspbian Jessie, installed both wiringpi and RPI.GPIO and I can control GPIO pins using python or using the console (ex. gpio write 5 0). I’m trying now to change the default PIN states on boot. I’ve tried using: gpio=0=ip,pd , gpio=2=op,dl ,gpio=5=ip,up on /boot/config.txt without luck.
Does anyone know how to do it?
This is the current default state of the GPIOs -> https://i.imgur.com/khNJgOi.png . I need to change it to this -> https://i.imgur.com/5BT15nM.png
OS Image -> Raspbian Jessie 2020-04-10-raspbian-jessie-ap6212-bpi-m2z-sd-emmc.img.zip