[Tinyos-help] Linking C files into Tinyos

2008-05-13 Thread Hugh Hartwig
I am attempting to compile and link c code into tinyos-1.x. So far I have been able to include c files at the top of NESC files, but this appears to make everything inline, thus taking up significant code and memory space. Is there a way to compile and link the C files such that they aren't create

Re: [Tinyos-help] Linking C files into Tinyos

2008-05-15 Thread Paul Stickney
Good luck trying to link external C files... (The following only covers when C code is built WITH nesC.) It only takes up extra code/memory if they are called from more than one location... does marking them with the spontaneous nesC attribute fix your problem? (It should; also look at the nesC "C