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
Advertisement
Answer
Two options:
Build via mbed CLI. After installing set your build command in Eclipse to:
mbed compile -m YOUR_BOARD -t GCC_ARM --profile ./mbed-os/tools/profiles/debug.json
Build via a Makefile. In the mbed Online Compiler right click on your project, select Export > Eclipse (GCC ARM). This will give you an Eclipse project with the makefile.