Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to use GPIOs

307 bytes added, 12:44, 9 January 2012
no edit summary
Download source code from author website using the next command:<br>
<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
 
Search lines:
<pre>
OVEROTOP ?= /home/gumstix/overo-oe
CROSS_COMPILE ?= $(OVEROTOP)/tmp/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-
</pre>
Due the Makefiles are wrote 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-</gpio/apppre>
= Install binaries =
4,199
edits