Mansos installation
Notes for installation by hand, by Leo
First, get the MansOS from SVN repository. This will include the source files and the scripts and tools. You may create the svn directory below, or use some other path.
cd ~/svn/ svn co http://mansos.net/svn/mansos/ mansos
Then, install msp430-gcc.
- One option is installing it by hand
- Alternative is to use the newer, MSPGCC4.
Or download the packaged version [http://sourceforge.net/projects/mspgcc4/files/GCC-4.4.2-GDB-7.0-20091124/20091124-msp430-gcc-4.4.2-gdb-7.0-insight-6.8.7z/download from sourceforge] (not the latest).
- If you happen to have TinyOS, Contiki or some other software that have msp430-gcc installed, you may save this step and use their version of msp430-gcc.
Then, set up your .bashrc as follows (you may set this up in a separate script). This will find the mspgcc tools and the mansos root directory.
export PATH="/opt/mspgcc/bin:$PATH" export MOSROOT="/opt/mansos"
For the MOSROOT path to work you may want to add a link to your actual downloaded sources of mansos, e.g.
cd /opt/ ln -s ~/svn/mansos/ mansos/
Now, test it.
- Go to /opt/mansos/apps/Blink and try compiling and uploading it to a telosb mote. Also try compiling for PC.
cd /opt/mansos/apps/Blink make telosb make telosb up[load make pc make pc run