Well, that put my two-liner to shame :)
Very well said, sir!
Michiel

> -----Original Message-----
> From: [email protected] [mailto:tinyos-help-
> [email protected]] On Behalf Of Giuseppe Cardone
> Sent: woensdag 10 februari 2010 12:08
> To: Arik Sapojnik
> Cc: Tinyos-help
> Subject: Re: [Tinyos-help] MSP430 assembly
> 
> Hi,
> 
> you are looking in the right place. Probably you can not see your
> functions because gcc inlines them for performance and code size
> issues (the balance between the two is actually a complicate matter,
> so let's just skip the details -
> http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Inline.html ). What ncc
> does is actually to translate all the nesC code into a big C code,
> app.c . Since C has not namespaces it mangles the function names to
> avoid name clashing. The schema it uses is:
> componentname__interfacename__eventorfunctionname. Let's take for a
> sample code-hunting session the Blink application. The event
> Timer0.fired() in the Blink application is translated into
> BlinkC__Timer0__fired() . If you look for it in
> build/yourplatforname/app.c you'll see that it is declared as:
> [...]

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

Reply via email to