Link Search Menu Expand Document

Creating MPLAB® Harmony 3 Project using MPLAB® X IDE

To create a new MPLAB® X IDE Harmony 3 project, launch the MPLAB® X IDE.

  • Launch the New Project Wizard using one of the following methods:
    • From the Toolbar: Click on the New Project icon New Project button, or
    • From the Menu: Select File -> New Project, or
    • From the Keyboard: Ctrl + Shift + N
  • Choose “32-bit MPLAB® Harmony 3 Project” and Click Next

    new_project_step1

  • Specify the location where the Harmony 3 repositories have been downloaded with content manager, then click Next.

    new_project_step2

  • Specify Project Name, Location and Folder.
    • Location: Indicates the path to the root folder of the new project. All project files will be placed in this folder.
    • Folder: Indicates the physical name of the MPLAB® X .X project folder (Absolute location is indicated in Path). This allows creation of multiple projects in the same location.
    • Name: Indicates the logical name of the MPLAB® X Project
    • Click the Show Visual Help button to open a contextual help window for a detailed description of various fields in the Configuration Settings.

    new_project_step3

  • Specify configuration name and Select Device.

    new_project_step4

  • Launching MHC from MPLAB X
    • After selecting the target device, click Finish to launch MHC.
    • Users can also launch MHC by selecting Tools > Embedded > MPLAB® Harmony 3 Configurator from the MPLAB X IDE

    launch_mhc_step1

    • If necessary, reconfigure the MPLAB® X Harmony framework paths by clicking the Reconfigure Paths button. Otherwise, accept the default settings and then click Launch.

    launch_mhc_step2

Configure and Generate code with MHC

Build and Program with MPLAB X IDE

  • In MPLAB® X IDE, go to File > Project Properties, and make sure that appropriate compiler version, hardware tools and DFP version should be selected. Project Properties

  • Clean and build your application by clicking on the Clean and Build button as shown below. Project Properties

  • Program your application to the device by clicking on the Make and Program button as shown below. Project Properties



Copyright © 2020 Microchip Technology.