MPLAB® Harmony v3 Peripheral Libraries on PIC32MX 470: Step 4
Generate Code
Before generating code, click the Save icon in MPLAB® Harmony Configurator (MHC).
Save the configuration in its default location when prompted.
Click on the Code Generate button to start generating code.
Click on the Generate button in the Generate Project window, keeping the default settings.
If you are asked whether you want to save the configuration, click Save.
As the code is generated, MHC displays the progress as shown below.
Examine the generated code.
MHC will include all the MPLAB Harmony library files and generate the code based on the MHC 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, CORETIMER, I²C1, UART2, DMAC, and GPIO peripherals. MHC also generates a template main file (main_pic32mx470.c).