Low Power Application on SAMC2x Using MPLAB® Harmony v3 Peripheral Libraries: Step 5
Generate Code
Click on the Resource Management [MCC] tab on the top left pane. Click the Generate button in the Project Resources.
As the code is generated, MPLAB® Code Configurator (MCC) displays the progress as shown below.
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 would add files and folders to your Harmony project as shown. Among the generated code, notice the peripheral library files generated for RTC, SERCOM 2 (as I²C), SERCOM 4 (as USART), DMA, PM, EIC, EVSYS, SUPC, ADC and PORT peripherals. MCC also generates template main file (main.c).
Build the code 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.