When we try to do a ls on /sys/class/gpio it shows empty.
We have attached dmesg log.
We also included the libgpiod in the local.conf file.
IMAGE_INSTALL:append = " libgpiod"
When we try to issue "gpiodetect" it shows unknown command
Please help us to access /sys/class/gpio or libgpiod ?
Hi,
Based on your information the problem could be that you are not setting the device tree properly. Please have a look at the following link. Here you will find how to correctly set the device tree to use a GPIO.
Link: Toggle pin on i.MX 8M Mini Applications Processor ... - NXP Community
I hope this information will be helpful.
Have a great day!