Conversion of toolchain from Eclipse IDE to IAR workbench with mbed-CLI

18 Jan 2018

Hi guys,

I have a running project with mbed os 5.2 with a makefile. I can build it easily and run the Elf file. But I want to shift to IAR workbench due to some reasons. I know that with mbed-CLI I can convert the project to other toolchain. But how can I include all the settings that I have in Makefile into IAR toolchain. As, IAR requires no Makefile rather many configurations.

I want to use mbed-CLI but not sure what are the steps. Can somebody guide me? Like how to get mbed-CLI be aware of all your project files and flags I have in the makefile. So that I can have the same thing in IAR workbench.

Thank you very much.

Best, Fahad

22 Jan 2018

Hi,

you should be aware that IAR and other toolchains have different settings. There are guides, for instance IAR has few pages on their webpage that cover various settings from other toolchains, how are they named for IAR and the final result. Therefore you should download IAR Compiler guide where is entire configuration described and find settings you are using.

For instance, look at the profiles we use and compare GCC ARM to IAR.