ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: [ts 7200] DIO Code

To: Aníbal Almeida Pinto <>
Subject: Re: [ts-7000] Re: [ts 7200] DIO Code
From: Alba <>
Date: Tue, 16 Nov 2010 16:15:17 +0100


hey,it works!

I made a really stupid error: the make file was setted to make the file run on th pc...I changed this option,compiled again and it was ok.

I want to tank you all for the help

2010/11/16 Aníbal Almeida Pinto <>
You need to use a different compiler to produce the binaries to be able to run on the board.

Give a look to Cross Compiling [1]

On ts ftp they have compilers for this [2]


[1] - http://en.wikipedia.org/wiki/Cross_compiling
[2] - ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/cross-toolchains/


Em 16-11-2010 10:39, Alba escreveu:
I always compiled the binary on my PC but, after your suggestion, I
tried also to run the .exe file on the PC and it seems to work on
it!

This is the screen :screen PC.bmp


Maybe I'm missing some library on the board??


2010/11/16 Aníbal Almeida Pinto <
<>>



What is the line that you are using to compile the binary ?

Can you paste the output of executing :

$ file PinMod

This can be done in any Linux machine, don't need to be on the
board.


Em 15-11-2010 16:42, Alba escreveu:



if I wasn't clear in explaining: my goal is to set DIO pin (0 or 1)
with a file made by c code (can't use kernel). Thanks for the
previous replies!

Any other suggestion?

Alba /still fighting with the code :(

On 15 November 2010 00:23, Alba <
<>
<
<>>> wrote:


You have to *compile* your C-code to build a program.  You can't run
c-code from the bash-shell.


yes,I've done it! the screen is the result f running the .exe file.



-- Alba














-- Alba BEST Rome,Tor Vergata





--
Alba
BEST Rome,Tor Vergata


__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU