Using the Provided Workspace

Projects in IAR are organized as follows:

All projects of the  are grouped in the all_projects.eww workspace.
Double-click on that file to open the workspace in IAR.


Create a New Project


All the projects shipped in the have been set up. We recommend you use those projects when exploring the different sample applications. You only need to follow the steps below when creating a project from scratch.

OCSDK revisions <= 1.1.0.8 include IAR 6.x projects. Starting with OCSDK 1.2, it will included IAR 7.x project files, which are not compatible with a 6.x environment. If you are using a 6.x environment, you may need to set up project files manually, as described below.


Follows the steps below to create a new project:


We assume your project is entitled myProject.



This output converter configuration is no longer needed. It produced a binary (.bin) file that was compatible with loader 1.0.3.12. It is replaced by the conversion of the .out file (as configured in the Linker output tab below) to a .bin file in the post-build step (as configured in the next step).  The new binary format requires loader 1.0.5.4 or later.

Customizing an application

The contents of the inc/, lib/, and modules/ directories are tightly linked together. We highly discourage modifying those files. Doing so will complicate upgrading your applications to a newer version of the  and may have unintended effects on other applications.  Future versions of the OCSDK will make it easier to customize the modules in one project without affecting the other samples. In the meantime, If you want to customize the behavior of the local or CLI module, we suggest creating a copy with a different name. For example, to customize the local module (assuming you will make changes to the following headers):

You can now edit the local task without impacting other projects.