[Tinyos-help] problem with telos

2011-02-24 Thread marianna araujo
I'm trying tu use Tinyos in Ubuntu 10.10,when I try to compile Blink for
micaz it goes ok. But when I try to compile for telosb I get the following
error:

/opt/tinyos-2.1.0/tos/system/
RealMainP.nc: In function `main':
/opt/tinyos-2.1.0/tos/system/RealMainP.nc:68: interface has no command or
event named `init'
/opt/tinyos-2.1.0/tos/system/RealMainP.nc:69: interface has no command or
event named `runNextTask'
/opt/tinyos-2.1.0/tos/system/RealMainP.nc:75: interface has no command or
event named `init'
/opt/tinyos-2.1.0/tos/system/RealMainP.nc:76: interface has no command or
event named `runNextTask'
/opt/tinyos-2.1.0/tos/system/RealMainP.nc: At top level:
/opt/tinyos-2.1.0/tos/system/RealMainP.nc:93: syntax error before
`PlatformInit'
In file included from BlinkC.nc:41,
 from BlinkAppC.nc:45:
In interface `Timer':
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:53: syntax error before `dt'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:62: syntax error before `dt'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:81: only commands and events can be
defined in interfaces
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:81: warning: return-type defaults
to `int'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:81: syntax error before `isRunning'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:87: only commands and events can be
defined in interfaces
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:87: warning: return-type defaults
to `int'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:87: redefinition of `bool'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:87: syntax error before `isOneShot'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:103: syntax error before `t0'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:118: syntax error before `t0'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:125: only commands and events can
be defined in interfaces
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:125: warning: return-type defaults
to `int'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:125: syntax error before `getNow'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:133: only commands and events can
be defined in interfaces
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:133: warning: return-type defaults
to `int'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:133: redefinition of `uint32_t'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:133: syntax error before `gett0'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:140: only commands and events can
be defined in interfaces
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:140: warning: return-type defaults
to `int'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:140: redefinition of `uint32_t'
/opt/tinyos-2.1.0/tos/lib/timer/Timer.nc:140: syntax error before `getdt'
In file included from BlinkC.nc:44,
 from BlinkAppC.nc:45:
In interface `Leds':
/opt/tinyos-2.1.0/tos/interfaces/Leds.nc:106: only commands and events can
be defined in interfaces
/opt/tinyos-2.1.0/tos/interfaces/Leds.nc:106: warning: return-type defaults
to `int'
/opt/tinyos-2.1.0/tos/interfaces/Leds.nc:106: syntax error before `get'
/opt/tinyos-2.1.0/tos/interfaces/Leds.nc:123: warning: declaration of
`uint8_t' shadows global declaration
/opt/tinyos-2.1.0/tos/interfaces/Leds.nc:106: warning: location of shadowed
declaration
/opt/tinyos-2.1.0/tos/interfaces/Leds.nc:123: syntax error before `val'
In file included from /opt/tinyos-2.1.0/tos/system/LedsP.nc:39,
 from /opt/tinyos-2.1.0/tos/system/LedsC.nc:38,
 from BlinkAppC.nc:45:
In interface `GeneralIO':
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:32: only commands and events
can be defined in interfaces
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:32: warning: return-type
defaults to `int'
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:32: syntax error before `get'
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:34: only commands and events
can be defined in interfaces
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:34: warning: return-type
defaults to `int'
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:34: redefinition of `bool'
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:34: syntax error before
`isInput'
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:36: only commands and events
can be defined in interfaces
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:36: warning: return-type
defaults to `int'
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:36: redefinition of `bool'
/opt/tinyos-2.1.0/tos/interfaces/GeneralIO.nc:36: syntax error before
`isOutput'
In component `LedsP':
/opt/tinyos-2.1.0/tos/system/LedsP.nc:45: syntax error before `Init'
LedsP: `Init.error_t' not implemented
LedsP: `Leds.led0Off' not implemented
LedsP: `Leds.led0Toggle' not implemented
LedsP: `Leds.led1On' not implemented
LedsP: `Leds.led1Toggle' not implemented
LedsP: `Leds.led2Toggle' not implemented
LedsP: `Leds.led2Off' not implemented
LedsP: `Leds.led1Off' not implemented
LedsP: `Leds.uint8_t' not implemented
LedsP: `Leds.set' not implemented
LedsP: `Leds.led0On' not implemented
LedsP: `Leds.led2On' not implemented
In file included from
/opt/tinyos-2.1.0/

Re: [Tinyos-help] problem with telos

2011-02-20 Thread Omprakash Gnawali
On Fri, Feb 18, 2011 at 6:54 PM, marianna araujo
 wrote:
> Hi,
>
> I have the following problem when try execute "make telosb"
>
> "Couldn't execute msp430-gcc"
>
> I'm using tinyos 2.1.0 in cygwin. Someone help me?

Make sure you have msp430-gcc installed and it is in your PATH.

- om_p
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] problem with telos

2011-02-18 Thread marianna araujo
Hi,

I have the following problem when try execute "make telosb"

"Couldn't execute msp430-gcc"

I'm using tinyos 2.1.0 in cygwin. Someone help me?

Regards,
-- 
Marianna Araújo
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] problem with Telos and openSUSE 10.0

2006-02-02 Thread Alfredo Quesada
Hi

I'm using opensuse for some time, and I'm having a
problem with motes that I didn't have when using suse
9.2:
If I want to use any app to forward data from the
radio network to the PC (using an USB connector) the
mote connected to the computer goes off when going to
synchronize the comunication between the PC and the
serial port. If you launch the Listen app (for
example) at the computer then you see
"[EMAIL PROTECTED]:57600: resynchronising" and then the mote
is halted (it seems that the messages sent when going
to "configure" the comunications with the serial port
are shutting down the mote.. if you quit the Listen
app the mote is restarted)

A way to check it is very simple:
load the TOSBase app at the mote and after pluging it
you only need to launch the Listen app in order to get
data from it.

Does anybody know something about this? (I think this
is a problem from openSUSE, wich has several traffic
speed problems with USB devices and probably those
problems are appearing here too)

regards :D


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help