In some cases customer wants to build a project directly by IAR Embedded WorkBench. Since the Simplicity Studio generated IAR project files may have some mistakes and may not be able to fix by Simplicity Studio design team in a short time, here is a workaround solution.
Take railtest_efr32 project as an example, after we generate it with IAR toolchain in Simplicity Studio, we should also check if it can pass compiling/building process in Simplicity Studio with IAR toolchain firstly. It is supposed the building with SS should be OK.
Then open the project railtest_efr32.eww with IAR workbench directly. The compile may fail, we found below errors. Test on Flex SDK 184.108.40.206. If you use Flex SDK 220.127.116.11, you may only have issue 2.
1, File link mistake.
2, EFR32MG12P332F1024GL125.icf cannot found.
3, Files is not included.
If you also found it failed to build the project, you could try below modifications, after doing these 2 steps, the IAR Embedded WorkBench compiling was supposed to be successful.
1, In file railtest_efr32.ewp. Make the files link correct and entirety.
Change the line
Add gpio_ci.c and zwave_ci.c into the project.
After changed, it will look like below:
2, Browse to Options-->Linker-->Config-->Linker configuration file, Uncheck “override default” option. Make the icf link correct.
After all the changing, you will can compile success and get a screen like this: