[Tinyos-help] how to use the nesC compiler
Pablo Gil Montaño
pgilmon at yahoo.es
Fri Sep 8 03:52:05 PDT 2006
I suggest you try to install the sofware included in the CD with the motes. If you don't have the CD, perhaps you could get the software from www.xbow.com
If you can't get the software from xbow, you can also try with software for other motes that might work also with yours. You could try with the sofware from moteiv (Boomerang), available in http://www.moteiv.com/download.php The instructions at moteiv webpage (www.moteiv.com) refer to moteiv motes (tmotes), but I guess it could also work with mica (once you have everything installed, to build an application write 'make mica2' instead of 'make tmote'). Anyway, if your using mica2, the software from xbow should set up your system without any problem, so that should be the first thing to try.
primalfear 69 <primeballerina at gmail.com> escribió: hello
I am using windows XP , mica2 motes with MIB510 programmer...
Regards
Sriram
On 9/8/06, Pablo Gil Montaño <pgilmon at yahoo.es> wrote: Which operating system and motes are you using?
primalfear 69 <primeballerina at gmail.com > escribió: thanks man..
as you said i went through the install file given in nesc-1.2.7a/install. this is what is given in that file
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
To build nesC: in this directory
./configure [--prefix=<where you want to install nesc]
make
To install:
make install
To install a nesC editor mode (currently, emacs, vim, kde):Read <installdir>/lib/ncc/editor-modes/<your-editor-name>/readme.txt
To use nesC with TinyOS, you need to install the ncc, mig, etc TinyOS frontends for nesC. These are found in tinyos-1.x/tools/src/ncc (for TinyOS 1.x) and in tinyos-2.x/tools (for TinyOS 2.x). Please follow the installation directions you find there.
To use nesC with the Atmel AVR processors or the TI MSP processors you
need the avr-gcc and msp430-gcc packages, as well as patched versions
of the GNU binutils (avr-binutils and msp430-bintutils respectively).
These packages can be obtained from http://www.tinyos.net/dist-2.0.0
(also check http://www.tinyos.net/download.html to see if newer versions
are available).
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
its said that "tinyos-1.x/tools/src/ncc (for TinyOS 1.x) " in this path i would be able to find ncc but there is no mention of it. i found ncc in the path "\tinyos\cygwin\usr\local\lib" but with no installation guide. could you get me any help regarding this....
Regards
Primalfear
On 9/7/06, Pablo Gil Montaño <pgilmon at yahoo.es > wrote: The thing you are downloading is the source code of the nesc compiler. You first need to compile the compiler, so as to say. In order to do that, you should read the file INSTALL, included in that file (tar.gz is a compressed file, you can decompress it with 7zip [1]). You must know that in order to use nesc you must run linux (or windows+cygwin). If you are using windows, perhaps it would be better to install the software from the vendor of your motes (moteiv, xbow, etc.), which will include cygwin and all the other necessary tools (nesc, etc.).
[1]: http://www.7-zip.org/
primalfear 69 < primeballerina at gmail.com> escribió:
hello everybody
what is this nesC compiler given under the link. is it not same like c compiler (turbo..... etc.)
http://prdownloads.sourceforge.net/nescc/nesc-1.2.7a.tar.gz?download
when i download it am not getting any application/exe file under which i can compile my nesC programs. could anyone be more specific on what is it.
_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060908/12863f67/attachment.htm
More information about the Tinyos-help
mailing list