MPLAB® Harmony v3 Peripheral Libraries on PIC32CM GV-VL (Arm® Cortex®-M0+) MCUs: Step 4
Generate Code
Now, generate the code by using MCC. From the Project Resource pane, click on the Generate button.
As code is generated, MCC displays the progress as shown in the accompanying image.
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.
MCC will include all the MPLAB Harmony v3 library files and generate the code based on the MCC selections. The generated code would add files and folders to your MPLAB Harmony v3 project as shown.
Among the generated code, notice the Peripheral Library (PLIB) files generated for Real-Time Clock (RTC), SERCOM 2 (as Universal Synchronous Asynchronous Receiver Transmitter (USART)), External Interrupt Controller (EIC), and PORT peripherals. MCC also generates the template main file (main.c).