Skip to content

Build Systems

modm is best tested with the SCons build system, even though modm itself is build system agnostic.

SCons

We use the SCons build system to generate, build and program your application. We've extended it with many utilities to allow a smooth integration of embedded tools.

You can use these command in all our examples to get a feel of how it works.

 $ scons build       # Compiles your program into an executable.
 $ scons size        # Displays the static Flash and RAM consumption.
 $ scons program     # Writes the executable onto your target.
 $ scons             # maps to `scons build size`
 $ scons symbols     # the symbol table for your executable.
 $ scons -c          # removes the build files.
 $ scons verbose=1   # Makes the printout more verbose.