S32 Design Studio (S32DS) for ARM supports IAR Plugin, and the user can use IAR specific features in S32DS with IAR toolchain for ARM.
This document describes the way to convert S32DS project to IAR EW based project using project exporting wizard in S32DS. This guidance is based on the NXP S32K144 microcontroller, and compatible with S32K14x / S32K11x family.
The version of each IDE which is used for this document is as follows:
S32 Design Studio for Arm 208.R1
IAR Embedded Workbench for ARM 188.8.131.5231
1. Install IAR Plugin using IAR Embedded Workbench plugin manager on S32DS
2. Create S32DS Project
3. Export S32DS Application Project
4. Create IAR EW Project
5. Connect the Project
Now, the project which had been created in IAR was connected to the S32DS project.
The created IAR project should be modified if the user wants to use the project with S32DS SDK to build and debug under IAR EW environment as follows.
1. Modify the Linker configuration and remove ProjectInfo.xml
Even though the user modified the linker configuration, a definition in IAR EW for "device_registers.h" from SDK will cause build error when trying building the project.
This error will be eliminated by inserting Chip specific definition into IAR project. If you take a look into the "device_register.h", you can find the definition as follows.
2. Define symbols
3. Build and Debugger configuration
Finally, you can download and debug the converted IAR EW project with S32DS SDK.