Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use GPIOs

234 bytes added, 12:48, 9 January 2012
no edit summary
<pre>wget -r -np http://svn.hylands.org/linux/gpio/
</pre>
Due the Makefiles are wrote for Gumstix SDK, it is necessary change some constants to our Host. There are:
 
$/linux/gpio/app/Makefile
 
$/linux/gpio/lib/Makefile
Due the Makefiles are wrote Search lines: <pre>OVEROTOP ?= /home/gumstix/overo-oeCROSS_COMPILE ?= $(OVEROTOP)/tmp/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-</pre> Replace by, your cross compiler path, for Gumstix SDK, it is necessary change some constants to our Host. There areexample: <pre>OVEROTOP ?= /CROSS_COMPILE ?= $(OVEROTOP)/usr/bin/arm-linux-gnueabi-</pre> $/linux/gpio/appmodules/Makefile<br>
Search lines:
<pre>
OVEROTOP ?= /home/gumstix/overo-oeCROSS_COMPILE ?= $(OVEROTOP)/tmp/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-
</pre>
 Replace by, your cross compiler path, for example:<pre>OVEROTOP ?= /
CROSS_COMPILE ?= $(OVEROTOP)/usr/bin/arm-linux-gnueabi-
</pre> <br>
= Install binaries =
4,199
edits