When a build is performed using Eclipse, the default binary output format is .elf. However, if you need a .hex file, our makefiles support creating hex files when called with the “release” option. The easiest way to do this in eclipse is to add it to the build command under Properties->C/C++ Build->Builder Settings tab. See screenshot.