MansOS Platforms

From DiLab
Revision as of 23:15, 1 September 2010 by Leo (talk | contribs) (Files)
Jump to: navigation, search

Files

The executable and the object files are created by issuing a platform specific make and stored in build/*platform* directory. For example,

make telosb

will create a directory build/telosb with all the object files and the executable in it. Once it is successfully compiled, you may upload it to the target device with:

make telosb upload

Platforms

Currently, MansOS supports the following platforms:

  • telosb - TelsoB, Tmote Sky, Taroko mote, and clones based on msp430F1611 controller and cc2420 radio transceiver
  • atmega - Atmega328 based platforms, such as Arduino
  • msp430 - A generic platform supporting devices based on TI's MSP430 microcontrollers
  • nrf - Nordic Semiconductors nRF24... devices


  • pc - Used for simulation, a.k.a. virtual mote.
  • pcapp - For executable applications running on a PC platform.

Modules

MansOS may include a module in the build. A module is a sensor board or any other module that extends the platform in some way and has appropriate software written for it. The following modules are supported by MansOS;

  • SeePoga - a color graphics LCD (in development)
  • TextLcd - a text LCD, such as 2x8 characters (in development)

Options

You may configure the build process using the 'configure' file. In addition, some of the options may be included in the command line. For example:

make pc verbose

The following command line options override the configuration file:

  • verbose - provide more verbose messages during the build process
  • quiet - provide less verbose messages during the build process
  • optimize - turn code optimization on if possible