Hi!

On Fri, 6 Mar 2009, Anthony L wrote:

>
> Hi,
>
> Im currently studying the language and layout of nesC.  Im working with 
> the MSP430 MCU. Can anyone tell me where the code for commands provided 
> by interfaces is written?

The code can be in a bunch of places: tos/system, tos/platforms/telosb, 
tos/platforms/telosa, tos/chips/cc2420, etc. All the places where nesC 
looks for components for telosb are declared in tos/platforms/telosb/.platform.

> For example:
> Say if i wanted to look at the actual code which led0Toggle () runs, where 
> can I find it?
> The Leds interface defines all the commands but no actual code (which makes 
> sense for abstraction)
> However, I cant find this code in the MSP430 chip directory either.
>

The Leds interface (to which led0Toggle belongs to) is provided by 
LedsC.nc and NoLedsC.nc from tos/system.

All the best!
Razvan ME
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to