ts-7000
[Top] [All Lists]

[ts-7000] Re: ts732.c and ts732.h

To:
Subject: [ts-7000] Re: ts732.c and ts732.h
From: "Rafael_Sotomayor" <>
Date: Wed, 21 Feb 2007 19:28:40 -0000
I commented line 161 with the following 
// #define BYTE_ARRAY_REF_STRUCT(name)
BYTE_ARRAY_REF(sizeof(*(name)),(byte *)name)

and I put 
#define BYTE_ARRAY_REF_STRUCT(name) BAR((byte *)name,sizeof(*(name)))

as bat3.c

So I don't know if I'm right


Regards



--- In  "Rafael_Sotomayor"
<> wrote:
>
> Thanks peter I sort the files and I compiled but I have the following
> error when I compile ts732.c
> 
> ts732.c: In function `AVRwriteEEPROM':
> ts732.c:166: error: invalid initializer
> ts732.c:171: error: incompatible type for argument 1 of
> `TS732requestInitFromReply'
> ts732.c:171: error: incompatible type for argument 2 of
> `TS732requestInitFromReply'
> ts732.c:179: error: incompatible type for argument 2 of `AVRsendRequest'
> ts732.c:179: error: incompatible type for argument 3 of `AVRsendRequest'
> ts732.c: In function `AVRreadEEPROM':
> ts732.c:185: error: invalid initializer
> ts732.c:189: error: incompatible type for argument 1 of
> `TS732requestInitFromReply'
> ts732.c:189: error: incompatible type for argument 2 of
> `TS732requestInitFromReply'
> ts732.c:196: error: incompatible type for argument 2 of `AVRsendRequest'
> ts732.c:196: error: incompatible type for argument 3 of `AVRsendRequest'
> ts732.c:200: error: incompatible type for argument 2 of `AVRsendRequest'
> ts732.c:200: error: incompatible type for argument 3 of `AVRsendRequest'
> ts732.c: In function `AVRcalibrateADC':
> ts732.c:326: error: incompatible types in assignment
> ts732.c:349: error: incompatible types in assignment
> ts732.c: In function `TS732setup':
> ts732.c:546: error: `pTS732data' undeclared (first use in this function)
> ts732.c:546: error: (Each undeclared identifier is reported only once
> ts732.c:546: error: for each function it appears in.)
> ts732.c:546: error: parse error before "t"
> ts732.c:549: error: `t' undeclared (first use in this function)
> ts732.c: In function `TS732processOptions':
> ts732.c:590: error: `pTS732data' undeclared (first use in this function)
> ts732.c:590: error: parse error before "data"
> ts732.c:591: error: parse error before "data"
> ts732.c: In function `TS732replyPacket_Print':
> ts732.c:852: error: `pTS732data' undeclared (first use in this function)
> ts732.c:852: error: parse error before "data"
> ts732.c: In function `TS732taskDo':
> ts732.c:897: error: `pTS732data' undeclared (first use in this function)
> ts732.c:897: error: parse error before "t"
> ts732.c:901: error: `t' undeclared (first use in this function)
> ts732.c: In function `main':
> ts732.c:961: warning: passing arg 9 of `AVRrun' from incompatible
> pointer type
> 
> 
> Thaks for any hint
> Rafael
> 
> 
> --- In  "PeterElliot" <egroups@> wrote:
> >
> > Hi Rafael,
> > 
> > Eddie put the files up for me... You need to add them to the BAT3 
> > source tree and make file as it has the other files needed.
> > 
> > I've not had chance to work with them at the moment.
> > 
> > Regards,
> > 
> > PJE
> > 
> > 
> > --- In  
> > "Rafael_Sotomayor" <rafael_sotomayor@> wrote:
> > >
> > > I am failing when I compile the application sample at
> > > 
> > > ftp://ftp.embeddedarm.com/ts732.c
> > > ftp://ftp.embeddedarm.com/ts732.h
> > > 
> > > The problem I have that there is some headers files I have not got, 
> > > 
> > > So can someone put the whole source code in a .tgz or zip file
> > > including all necessary files to rebuild the app.
> > > 
> > > Thanks in advance
> > > 
> > > Rafael Sotomayor
> > >
> >
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<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