Thanks for you reply!
     I know how to get the app/.../app.c,what I really want to know is that
how can I get the .c according to the .nc in other files(not in the apps).
Is there any way to compile all the .nc to C,not just the apps like Blink?

for example:  tinyos-main-master\tos\lib\net\blip\IPDispatchP.nc
     how can I compile the IPDispatchP.nc into C ?

Best regards!

2015-07-06 10:25 GMT+08:00 Johny Mattsson <[email protected]>:

> On 6 July 2015 at 12:08, Yan Song <[email protected]> wrote:
>
>> Hello everyone:
>>
>>       I know that when an app is running, it will first be compiled into
>> .c from .nc ,by using ncc. Now I need to use the tinyos source code in C,
>> how can I get the source code in C ?
>>
>
> The generated C source ends up in:
>   apps/<appname>/build/<targetname>/app.c
>
> i.e. for the Blink app for micaz it would be:
>   apps/Blink/build/micaz/app.c
>
> Regards,
> /Johny
> --
> Johny Mattsson
> Senior Software Engineer
>
> DiUS Computing Pty. Ltd.
>
> *where ideas are engineered *
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to