Skip to content

How to build the firmware

Keoma Brun edited this page Mar 30, 2018 · 3 revisions

How to build the Mercator firmware

M3 boards:

To build the mercator firmware for the M3 board, run the following:
scons board=iot-lab_M3 toolchain=iar-proj oos_mercator

The resulting file is located at:
THE_openwsn-fw_DIR/build/iot-lab_M3_iar-proj/projects/common/03oos_mercator_prog

--Note: For the M3 mote, you need to copy the 03oos_mercator_prog and not the .ihex file.

The file 03oos_mercator_prog is an ELF file and can be renammed as 03oos_mercator_prog.elf

OpenMote-CC2538 boards:

To build the mercator firmware for the OpenMote-CC2538 board, run the following:

scons board=OpenMote-CC2538 toolchain=iar-proj oos_mercator

The resulting file is located at:
THE_openwsn-fw_DIR/build/OpenMote-CC2538_armgcc/projects/common/03oos_openwsn_prog.ihex