Getting Started with MPLAB® Harmony v3 Peripheral Libraries on PIC32MK GP MCUs: Step 4
Generate Code
Click on the Resource Management [MCC] tab on the top left pane. Click Generate button in the Project Resources.
As code is generated, the MPLAB® Code Configurator (MCC) displays the progress as shown.
Examine the generated code as shown below.
MCC will include all the MPLAB Harmony library files and generate the code based on the MCC selections. The generated code will add files and folders to your Harmony project.
Among the generated code, notice the Peripheral Library (PLIB) files generated for TMR2, CORE TIMER, Serial Peripheral Interface 6 (SPI6), Universal Asynchronous Receiver Transmitter 6 (UART6), Direct Memory Access Controller (DMAC), and General Purpose Input/Output (GPIO) peripherals. MCC also generates template main file (main_pic32mk.c).
Build the project by clicking on the Clean and Build icon and verify that the project builds successfully. At this point, you are ready to start implementing your application code.