Enter a brief description of your changes
(Required)
Minor changes are by default collapsed in the page history.
No changes
The page does not exist yet.
Failed to load changes
Version by on
Leave Collaboration
Are you sure you want to leave the realtime collaboration and continue editing alone? The changes you save while editing alone will lead to merge conflicts with the changes auto-saved by the realtime editing session.
Step 2: Create and Generate a New Project
Last modified by Microchip on 2026/06/26 07:36
Creating and Generating a New Project
To create a new project, go to File > New Project.
A new project can also be created by selecting the designated icon or by using the Ctrl + Shift + N shortcut.
Go to Microchip Embedded > Application Project(s) and click Next.
Enter the device part number in the Device field and click Next.
Information
Note: The part number for PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit is PIC32CM5164LS00048.
Choose the latest version of MPLAB® XC32 Compiler and click Next.
Choose the Project Name and Project location. Then click Finish.
Information
Note: The Project Folder field cannot be edited. A firmware folder is created inside lab1_ide_setup because two files will be generated: secure and non-secure.
After clicking Finish, the project will be generated and MPLAB Code Configurator (MCC) will open. This is how the MCC window looks.
The following sections are present in MCC:
Project graph
A graphical interface that visually represents and manages all the software components, drivers, middleware, and their interconnections within an embedded project
Project Resource
Displays modules and peripherals included in the project
Device Resource
Lists all available peripherals and libraries for the selected device
User Output
Displays generated code and reports
Notifications
Shows configuration errors and warnings
Configuration Options
Allows adjustment of settings for each module
To generate code, click on either Project Resource or DeviceResource. Then click Generate.
Information
Note: Once the project is created and generated, it generates both a secure and a non-secure project. Additionally, the secure project is included as a loadable project.
After code generation, the main.c file will appear under two locations:
lab1_ide_setup > Source Files > main.c
lab1_ide_setup_secure > Source Files > main.c
Information
Note: The file named main.c in the lab1_ide_setup directory is referred to as the non-secure main.c, while the main.c in the lab1_ide_setup_secure directory is known as the secure main.c.
Double click on main.c (under non-secure) to open that code file.
If you need to work with Microchip Support staff directly, you can submit a technical support case. Keep in mind that many questions can be answered through our self-help resources, so this may not be your speediest option.