Import an IAR Embedded Workbench Project


New Project Wizard
Launch the New Project Wizard using one of the following methods:

  • From the Toolbar: Click on the New Project icon Main_New_Project.png, or
  • From the Menu: Select File ► New Project, or
  • From the Keyboard: Ctrl + Shift + N

The project wizard will walk you through the process and prompt you for all the required information. Your selections may be changed after the project has been created by modifying the project's properties.


Choose Project


Choose Other Embedded from the Categories column (center).


Choose IAR Embedded Workbench Project from the Projects column (right).


Click the Next > button.

Click image to enlarge.


Locate IAR Embedded Workbench *.ewp File

Browse to select the *.ewp project file.

Click image to enlarge.


Select Device
The device names used in an IAR project may be slightly different from the device names used in an MPLAB X IDE project. Please verify that the suggested device is correct.


Select Compiler
Select an MPLAB XC Compiler: MPLAB XC8 for AVR devices or MPLAB XC32 for SAM devices.

Note: Other compilers may work but have not been tested.


Select Project Name and Folder
We recommend that you choose the suggested path.


Review Summary and Create Project
Review the summary page to verify your selections and then click Finish.
The following settings in the IAR project are imported into the resulting MPLAB X IDE project:

  • Project files
  • Include directories
  • Defined symbols (called "Preprocessor macros" in the MPLAB X IDE project)

You must configure all other compiler settings manually. Consult the "MPLAB XC8 C Compiler User’s Guide for AVR MCU" or "MPLAB XC32 C/C++ Compiler User's Guide for PIC32C/SAM MCUs" for more information. See the MPLAB XC compiler webpage for documentation

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.