[Tinyos-host-mote-wg] [Tinyos-2.0wg] bug in nesc1.2alpha10 & nesc1.2beta1?

Joe Polastre joe.polastre at gmail.com
Mon Aug 8 18:35:52 PDT 2005


I believe this to be a bug (or some other weird thing with nesC that I
didn't see in nesc 1.2alpha5 and earlier).

The situation is as follows:

msp430hardware defines how to make a pin, say TOSH_ASSIGN_PIN();

another header file, lets call it sensorboard.h, defines a new pin:
TOSH_ASSIGN_PIN(MY_PIN, 2, 3);

since it comes after msp430hardware, it should work equally well as
any TOSH_ASSIGN_PIN in msp430hardware.h.  However, it gives an error
about nesC's norace primitive:

`__nesc_keyword_norace' undeclared (first use in this function)

I've created the simplest possible app to show the problem.  What do I
need to change, or what changed between nesC 1.2alpha5 and nesC
1.2alpha10?  (probably exists in nesC 1.2beta1 too!)

Hopefully gmail won't deny my tarball...

-Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestNesc1.2beta1.tar.gz
Type: application/x-gzip
Size: 409 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-host-mote-wg/attachments/20050808/c0c3e804/TestNesc1.2beta1.tar-0001.bin
-------------- next part --------------
_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg


More information about the Tinyos-host-mote-wg mailing list