Difference between revisions of "Build Tslib for ARM"

From Tuxamito
Jump to: navigation, search
(Created page with "Tslib is a linux library for initialising and reading data from a range of touchscreen devices, using standard methods. For more information visit the official [http://opentom...")
 
 
Line 16: Line 16:
 
<code>make</code><br>
 
<code>make</code><br>
 
<code>make install</code>
 
<code>make install</code>
 +
 +
===One Wire TS for mini6410 ===
 +
Download the source code of the [https://mega.co.nz/#!HhIVWbRT!e_jcXU8awHt0tvklQWdQBzXCxRcmNYrqNFSt-g4bD9w one-wire-ts for mini6410]
 +
 +
Untar it and compile it:<br>
 +
<code>tar zxvf one-wire-ts-input-src-xxx.tar.gz</code><br>
 +
<code>cd one-wire-ts-input</code><br>
 +
<code>make</code>
 +
 +
Finally copy the file ''one-wire-ts-input.so'' to the ''plugin'' directory of the compiled tslib before installing it in the mini6410 board.

Latest revision as of 09:05, 8 May 2013

Tslib is a linux library for initialising and reading data from a range of touchscreen devices, using standard methods. For more information visit the official Tslib webpage.


1. First we need to get the source code, for example from the git repository:
git clone https://github.com/kergoth/tslib.git
cd tslib


2. Then we configure it:
./autogen.sh
./configure --prefix=$HOME/dev/tslib_arm --host=arm-linux
You can change the --prefix to were the compiled code will be stored and --host to the right cross-compile toolchain.


3. Finally we compile and install it:
make
make install

One Wire TS for mini6410

Download the source code of the one-wire-ts for mini6410

Untar it and compile it:
tar zxvf one-wire-ts-input-src-xxx.tar.gz
cd one-wire-ts-input
make

Finally copy the file one-wire-ts-input.so to the plugin directory of the compiled tslib before installing it in the mini6410 board.