Step 3: Generate Code

Last modified by Microchip on 2026/06/26 07:39

Generate Code

Generate the code by navigating to the Project Resource tab on the left side of the Project Graph and then clicking the Generate button. 

MCC tab

 

As code is generated, MPLAB® Code Configurator (MCC) displays the progress as shown in the accompanying image. 

MCC Loading window

 

Once the project generation is complete, navigate to the Projects tab in MPLAB® X IDE to view the project tree structure.

Examine the generated files as shown in the accompanying image.

Projects tab

MCC includes the necessary MPLAB® Harmony v3 library files and generates code based on the MCC selections. The generated code adds the relevant files and folders to the MPLAB® Harmony v3 project, as shown.

Back to Top