2.1.10 Build and Program
The demo project will be compiled and programmed to both PIC32CXMTG-EK boards.
- Build the application.
- Open the project Properties by right clicking on the project name (pic32cxmtg).
- Ensure that XC32 compiler toolchain is selected. Press OK.
Figure 2-29. Select Compiler
- Build the application by clicking on the Build Main Project or Clean and Build Main
Project menu command.
Figure 2-30. Build Project
- Verify the build is SUCCESSFUL in Output window.
Figure 2-31. Successful Build
- Program the application.
- Connect a micro-USB cable from computer to the USB port on the PIC32CXMTG-EK board.
- Click on Make and Program Device Main Project menu command.
Figure 2-32. Make And Program Device
- If not already done, select the programming tool for the connected board.
Figure 2-33. Select Programming Tool
- Repeat steps 4 and 5 for the second PIC32CXMTG-EK board.
