96BoardsGPIO
96BoardsGPIO copied to clipboard
A library to make GPIO use across 96Boards uniform
Change LS_SHARED to LS_GPIO_SHARED.
same problem as here https://github.com/96boards/96BoardsGPIO/issues/15 @jguilfoy solution works but its not pushed to repository current code is still gpio *g = libsoc_gpio_request(gpio_id, LS_SHARED); if (!g) return rc; if (!strcmp(direction, "in"))...
I try to build it on the dragonboard 410c, but I get a build error: `error: 'LS_SHARED' undeclared; did you mean 'LS_GPIO_SHARED'?`
libsoc doesn't have a file called: autogen.sh You need to run: autoreconf -i So I think you should fix the docs
Please, correct this variable at the file. It's causing an error when I perform a sudo make install at my DragonBoard 410c. After I changed it, it's been working fine.
Trying to configure 96BoardsGPIO and getting error: linaro@linaro-alip:~/Desktop/dev/96BoardsGPIO$ make Making all in lib make[1]: Entering directory '/home/linaro/Desktop/dev/96BoardsGPIO/lib' /bin/bash ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"96BoardsGPIO\" -DPACKAGE_TARNAME=\"96boardsgpio\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"96BoardsGPIO\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"96boardsgpio\"...
This file is used by this package but never be created. Is it possible to generate this file during package installation? Or, it's better to specify it in the document...
`gpio.c` converts dashes to underscores in GPIO names and translates pin numbers and letters to names with underscore. However it appears that libsoc configuration uses the dash convention by default:...