User`s guide

© 2006 Microchip Technology Inc. DS51519B-page 61
MPLAB
®
IDE
USERS GUIDE
Chapter 4. Projects and Workspaces
4.1 INTRODUCTION
Two major features of MPLAB IDE are projects and workspaces.
A project contains the files needed to build an application (source code, linker script
files, etc.) along with their associations to various build tools and build options.
A workspace contains information on the selected device, debug tool and/or
programmer, open windows and their location and other IDE configuration settings.
The best way to set up your project and its associated workspace is by using the
Project Wizard. This will set up one project in one workspace.
To set up more advanced applications, you may set up your project and workspace
manually. You can take advantage of the workspace setup and open multiple projects
in one workspace. Also, you can tailor each project in a multiple-project workspace to
create one part of a larger application (concurrent projects).
If you are working with a single assembly file application, you can use Quickbuild
(Project>Quickbuild
) to assemble your code using MPASM assembler and not create
a project. You will, however, have an associated workspace, so your settings will be
saved.
Projects
Using the Project Wizard
Creating/Updating any Project
Setting Up a Project Structure – Relative Paths
Project Folders and Files
Using A Version Control System (VCS)
Setting Up/Changing a Project
Projects and Workspaces
Using a Single Project and Workspace (like MPLAB IDE v5.xx and earlier)
Using Multiple Projects in a Single Workspace
Building an Application without a Project (Quickbuild)