what are you trying to do anyway? On Sun, Jul 5, 2015 at 9:46 PM, Eric Decker <[email protected]> wrote:
> > the tools don't work that way. there is no way the tools will let you > generate individual .c files from .nc files. > > On Sun, Jul 5, 2015 at 8:07 PM, Yan Song <[email protected]> wrote: > >> 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 >> > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
