Building MansOS

From DiLab
Revision as of 17:30, 13 October 2011 by Atis (talk | contribs) (New page: == Make targets == At least the following make targets are recognized by MansOS building system: * build – build the application * clean – delete the 'build' directory * upload –...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Make targets

At least the following make targets are recognized by MansOS building system:

  • build – build the application
  • clean – delete the 'build' directory
  • upload – upload the application to hardware target (for non-PC platforms)
  • upload-msp40 – for telosb target: upload the application to a hardware target that is not TelosB compatible; for example to a generic msp430
  • run – run the application (for the PC platform)
  • testbed – upload the application to the test bed
  • pc telosb msp430 atmega nrf epic waspmote – select target platform(s)
  • memdump – print analysis of application's memory usage statistics
  • mspsim – run the application on msp430 CPU simulator
  • verbose – verbose building process
  • quiet – quiet building process
  • optimize – enable optimizations


Make variables

At least the following make variables are used by MansOS building system:

  • CFLAGS – compiler flags
  • LDFLAGS – linker flags
  • V – enable verbosity of the building process
  • BSLPORT – specify the target mote (from locally connected)