I will be very thankful if someone explain how to use .c++ and .h file in eclips using Ubuntu platform to compile it and get the .elf, .hex and .bin file. I have some files from mbed STM32f4 board. Please guide me Thank you Answer Two options: Build via mbed CLI. After installing set your build command in Eclipse to: