The return from atomic statement issue should be fixed by upgrading your
nesC version.

If the error message is fixed when including files from one location, then
the files from the full radio stack are not being included completely - so
there is no error to generate. 

It's been a long time since I worked with the 1.x radio stack, but as I
recall, the /platform/mica2 directory contains only a few update files to
override files in the baseline CC1000 stack, allowing it to change
frequencies properly at runtime.  There's also a completely separate CC1000
stack in something like contribs/rincon/tos/lib/CC1000Radio.  So it sounds
like you're selecting between two different radio stacks when you change
your include paths: Rincon's radio stack which is generating those error
messages, and the baseline radio stack with a few files overridden to fix
some bugs.

-David



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Benjamin
Madore
Sent: Wednesday, June 27, 2007 4:42 PM
To: [email protected]
Subject: [Tinyos-help] Return not allowed in atomic statements

I was working with the Rincon radio stack.

I am only getting this message ("return not allowed in atomic statements")
when the stack is in my build directory, but not when in the contrib
directory.

I am using in my makefile
-I/workspace/Project/RadioStack
-I/workspace/Project/RadioStack/core
-I/workspace/Project/RadioStack/interfaces

and
-I/opt/tinyos-1.x/contrib/rincon/tos/platform/mica2

to alternate between the two.

This has me greatly confused.
-Ben

-- 
The difference between the right word and the almost right word is really a
large matter- it's the difference between a lightning bug and the lightning.
-Twain

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to