Harmony v3 Peripheral Libraries on PIC32MK GP: Step 4
Step 4: Generate Code
6
Navigate to the Projects tab in MPLAB X IDE to view the project tree structure.
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, 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. MHC also generates template main file (main_pic32mk.c).
8
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.