Create a Standalone Project in MPLAB® X IDE
Introduction
MPLAB® X IDE (Integrated Development Environment) offers a wizard to step through the required steps to create a new project.
Launch the new project wizard
Launch the New Project Wizard using one of the above methods:
The project wizard will walk you through the process and prompt you for all the required information. Your selections may be changed after the project has been created by modifying the project's properties.
Choose Project
Select Device (and Tool)
Choose the device family from the Family drop-down box.
Choose your tool from the Tool drop down box. Tools that support the device should be listed in the drop-down list.
For hardware tools, you may notice that a serial number (SN) is specified below any tool that is connected to your computer. This allows you to select from several connected hardware tools.
Check Show All to see all tools supported in MPLAB X IDE. Grayed tools do not support the selected device.
Select Header
If you are using a debug header with your debugger, select it from the Supported Debug Header drop-down box. They are listed by the header's part number.
If you are not using a debug header (i.e., the debugger is directly connected to the target device), select None.
Select Plug-in Board
If you are using a plug-in board to enhance the features of your debugger (usually the Real ICE), select it from the Selected Plugin Board drop-down box. They are listed by function.
If you are not using a plug-in board (i.e. standard debugger configuration), select None.
Select Compiler
MPLAB X IDE will display all compilers available on your system that support your selected device. Select the compiler (including version number) you wish to use for building the project.
Select Project Name and Folder
If the Project Folder matches an existing project folder, Overwrite existing project will become active. Check to overwrite the existing project with the new project. Uncheck to display a warning and not allow project completion until a new project folder - project name and/or location - has been selected.
If Overwrite existing project is checked, Also delete sources will become active. Check to delete the previous project’s source files. Uncheck to leave the previous project’s source files.
To open MPLAB Code Configurator on project creation, check Open MCC on Finish.
To create the project in the same folder as the project location, check Use project location as the project folder. This is useful when importing MPLAB IDE v8 projects.
If your project is a standalone application, click Finish to complete the new project creation.
If your project will require another project for application development, click Add Project to proceed to the next dialog. Use this dialog when you need to create two projects, for example:
- Bootloader and application
- Dual-Core devices - Main and Secondary (shown in the accompanying figure.)
Reference Material