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 2018.R1
IAR Embedded Workbench for ARM 8.32.1.18631
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.
I encountered some issues during the step 'Install IAR Plugin which is matched with your IAR version.' Could you help me figure out how to resolve this?
Error message as follows
Operation details
Cannot complete the install because one or more required items could not be found.
Software being installed: IAR C-SPY Debug Support for Arm (9.x) 9.0.0.202407151343 (com.iar.cdt.arm.debugger.feature.feature.group 9.0.0.202407151343)
Missing requirement: EMF Ecore 2.23.0.v20200630-0516 (org.eclipse.emf.ecore 2.23.0.v20200630-0516) requires 'bundle org.eclipse.emf.common [2.20.0,3.0.0)' but it could not be found
Cannot satisfy dependency:
From: IAR C-SPY Debug Support for Arm (9.x) 9.0.0.202407151343 (com.iar.cdt.arm.debugger.feature.feature.group 9.0.0.202407151343)
To: com.iar.cdt.arm.sdk.feature.feature.group 0.0.0
Cannot satisfy dependency:
From: IAR Toolchain for Arm (9.x) 9.0.0.202407151343 (com.iar.cdt.arm.sdk.feature.feature.group 9.0.0.202407151343)
To: org.eclipse.emf.ecore.feature.group [2.13.0,3.0.0)
Cannot satisfy dependency:
From: EMF - Eclipse Modeling Framework Core Runtime 2.23.0.v20200630-0516 (org.eclipse.emf.ecore.feature.group 2.23.0.v20200630-0516)
To: org.eclipse.emf.ecore [2.23.0.v20200630-0516]