Hi community,
I want to know if there is any example code on how to access a gpio in the connect-core 6ul, i understand how to use an i2c device but i don’t understand how to use the gpio interface neither the spi. I’ve been reading general kernel documentation about gpio’s but only mention how to access using the sysfs interface; any documentation on how to interact with the hardware available would be helpful.
Sorry for the newbie question,
best regards.
LeonidM
February 14, 2017, 4:08pm
2
DEY comes with some examples, including GPIO one:
You can find out from yur DEY project with:
bitbake-layers show-recipes | grep -B 1 meta-digi
btfilter:
meta-digi-dey v3.4p4-b3.4.0.158
dey-examples-alsa:
meta-digi-dey 1.0
dey-examples-bt:
meta-digi-dey 1.0
dey-examples-btconfig:
meta-digi-dey 1.0
dey-examples-can:
meta-digi-dey 1.0
dey-examples-gpio-sysfs:
meta-digi-dey 1.0
dey-examples-hdp:
meta-digi-dey 1.0
dey-examples-opengles:
meta-digi-dey 1.0
dey-examples-rtc:
meta-digi-dey 1.0
dey-examples-spidev:
meta-digi-dey 1.0
dey-examples-v4l2:
meta-digi-dey 1.0
dey-examples-vplay:
meta-digi-dey 1.0
dey-examples-watchdog:
meta-digi-dey 1.0
dey-image-graphical:
meta-digi-dey 1.0
dey-image-graphical-dev:
meta-digi-dey 1.0
dey-image-graphical-sdk:
meta-digi-dey 1.0
dey-image-minimal:
meta-digi-dey 1.0
dey-image-minimal-dev:
meta-digi-dey 1.0
dey-image-minimal-sdk:
meta-digi-dey 1.0
dey-image-tiny:
meta-digi-dey 1.0
dey-image-tiny-initramfs:
meta-digi-dey 1.0
fbtest:
meta-digi-dey 1.0
firmware-atheros:
meta-digi-arm 1.0
kernel-module-atheros:
meta-digi-arm unknown (skipped)
kernel-module-gpio:
meta-digi-arm 2.1
kobs-ng:
meta-digi-arm 3.0.35-4.1.0 (skipped)
libdigi:
meta-digi-arm 1.0
libqmi:
meta-digi-dey 1.12.6
linux-dey:
meta-digi-arm 3.14
meta-digi-arm 3.10 (skipped)
memwatch:
meta-digi-dey 1.0
microwindows:
meta-digi-dey 0.91
modemmanager:
meta-digi-dey 1.4.12
nvram:
meta-digi-arm 2013.01 (skipped)
packagegroup-dey-audio:
meta-digi-dey 1.0
packagegroup-dey-bluetooth:
meta-digi-dey 1.0
packagegroup-dey-core:
meta-digi-dey 1.0
packagegroup-dey-debug:
meta-digi-dey 1.0
packagegroup-dey-examples:
meta-digi-dey 1.0
packagegroup-dey-gstreamer:
meta-digi-dey 1.0
packagegroup-dey-network:
meta-digi-dey 1.0
packagegroup-dey-qt:
meta-digi-dey 1.0
packagegroup-dey-wireless:
meta-digi-dey 1.0
u-boot-dey:
meta-digi-arm 2015.04
meta-digi-arm 2013.01 (skipped)
ubootenv:
meta-digi-arm 1.0
update-flash:
meta-digi-arm 1.0