Difference between revisions of "Mansos installation"

From DiLab
Jump to: navigation, search
(New page: == 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. Then, install msp430-gcc. One optiop...)
 
(Notes for installation by hand, by Leo)
Line 1: Line 1:
== Notes for installation by hand, by Leo ==
== 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.
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/
Then, install msp430-gcc. One optiopn is [http://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Linux_installation installing it by hand]
svn co http://mansos.net/svn/mansos/ mansos



Then, set up your '''.bashrc''' as follows (you may set this up in a separate script):
Then, install msp430-gcc.
* One optiopn is [http://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Linux_installation installing it by hand]

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 PATH="/opt/mspgcc/bin:$PATH"
Line 13: Line 18:


cd /opt/
cd /opt/
ln -s ~/mymansospath/ mansos/
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
Alternatively you might have changed the export MOSROOT statement to your path.
make telosb
make telosb up[load
make pc
make pc run

Revision as of 19:18, 22 March 2010

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.

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