Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use GPIOs

389 bytes removed, 12:15, 11 January 2012
no edit summary
= Compile GPIO driver source code via Host<br> =
Download GPIO driver (NOTE:Upload source code from author website using the next command:<br> <pre>wget -r -np http:) and [[../../svn.hylands.org/linux../gpioindex.php/Linux_Kernel_2.6.35.y|Kernel 2.6.35.y]] source code.</prebr> Due the source Makefiles are implemented for Gumstix SDK, it is necessary change some constants for compile with our Host. These constants are:
In filesEdit GPIO dirver Makefile's:
In files: $/svn.hylands.orgapp/linux/gpioMakefile and $/applib/Makefile , make sure that your CROSS_COMPILE path is correct.
$/svn.hylands.org/linux/gpio/lib/Makefile  Search lines: <pre>OVEROTOP ?= /home/gumstix/overo-oeCROSS_COMPILE ?= $(OVEROTOP)/tmp/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-</pre> Replaced by your cross compiler path, for example: <pre>OVEROTOP ?= /CROSS_COMPILE ?= $(OVEROTOP)/usr/bin/arm-linux-gnueabi-</pre> In file:<br>  $/svn.hylands.org/linux/gpio/modules/Makefile<br> , make sure that your CROSS_COMPILE path is correct and&nbsp;
Search lines:
4,199
edits