Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use GPIOs

661 bytes removed, 12:21, 11 January 2012
no edit summary
= Compile GPIO driver source code via Host<br> =
Download GPIO driver (NOTE:Upload source code) and with [[../../../../index.php/Linux_Kernel_2Linux Kernel 2.6.35.y|Kernel 2.6.35.y]] source code. Extract files.<br>
Edit GPIO dirver driver Makefile's:
In files: $/app/Makefile and $/lib/Makefile, make sure that your CROSS_COMPILE path is correct.
In file: $/modules/Makefile, make sure that your CROSS_COMPILE path is correct and&nbsp;type your Kernel 2.6.35.y path.<br>
Search lines: <pre>OVEROTOP ?= /home/gumstix/overo-oe#CROSS_COMPILE ?= $(OVEROTOP)/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-CROSS_COMPILE ?= $(OVEROTOP)/tmp/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-KERNEL_PATH &nbsp;?= ../../../../../gumstix/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernelARCH ?= arm</pre> Replaced by your cross compiler path and your kernel source path used, for example: <pre>OVEROTOP ?= /#CROSS_COMPILE ?= $(OVEROTOP)/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-CROSS_COMPILE ?= $(OVEROTOP)//usr/bin/arm-linux-gnueabi-KERNEL_PATH &nbsp;?= ../../../../../&lt;your kernel source path used&gt;ARCH ?= arm</pre> Go to: $/svn.hylands.org/linux/gpio/ and compile all source code downloaded using make command. <br>
Send binaries created from Host to Igep v2. <br>
4,199
edits