Step 3: Building and Programming of the Project

Last modified by Microchip on 2026/06/26 07:36

Building and Programming of the Project

To set a particular project as the main project, right-click on the project and select Set as Main Project.

lab1_ide_setup menu

Information

Note: The non-secure project (lab1_ide_setup) is designated as the main project. If it is not currently set as the main project, please complete the previous step to designate it accordingly.

Right-click on lab1_ide_setup and click on Properties to open project properties.

lab1_ide_setup menu

Information

Note: Double-click on main.c (under lab1_ide_setup > Source Files) to open the main.c project file.

Connect the PIC32CM LS00 Curiosity Nano Evaluation Kit to the PC via USB. Open the project properties and choose the appropriate hardware in the Connected Hardware Tool dropdown section. Click Apply and then OK. 

Project Properties window

Build the project by clicking the drop-down arrow next to the Clean and Build icon, then select Clean and Build Main Project. Verify that the project builds successfully.

Clean and Build menu

build_prog-4

 

To program the code onto PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit, select the Make and Program icon as shown in the accompanying image. This icon programs the project onto the device.

Make and Program icon

Also, verify that programming is successful.

successful programming

Back to Top