Create a Project Configuration

1

Open the Project Properties Window

Use one of the listed methods to Open the Project Properties window.

2

Manage Configurations

All projects contain at least one configuration called default. You can see this on the left side of the Project Properties window as the second node in the tree. All items collected as branches below this node are part of the default configuration.

Click on the Manage Configurations button at the bottom-left corner of the Project Properties window.

ManageConfigurations.png
Click image to enlarge.

3

Duplicate Existing or Create New Configuration

The easiest way to create new configurations will usually be to click on the Duplicate button which duplicates the selected configuration, in this case default. If you know that your new configuration will be nothing like the current configuration, you can click New instead.

Duplicate.png
Click image to enlarge.

4

Rename the New Configuration

With the new configuration selected, click on the Rename button.

Rename.png
Click image to enlarge.

5

Give it a Name

The name you provide here is what will be displayed in the IDE to identify this particular configuration in places like the Project Properties window and the drop-down box on the main tool bar.

No spaces are allowed in the name. If you put them in, the IDE will automatically remove them.

Click OK when done.

NewName-Expensive.png
Click image to enlarge.

6

Select and Rename the Default Configuration

Select the original, default configuration and click the Rename button.

Rename2.png
Click image to enlarge.

7

Give it a Name

As in step 5, provide a name for this configuration.

Click OK when done.

NewName-Cheap.png
Click image to enlarge.

8

Close the Configuration Manager

When you are done adding or duplicating configurations, click OK.

ok.png
Click image to enlarge.

9

Done

You should now see two configurations in the tree on the left side of the Project Properties window. Their names should be the same as what you provided in steps 5 and 7 above. Each one of these may now be configured separately, effectively making them "projects within a project".

You can repeat this process as many times as you like to create any number of configurations within a single project. Obviously the developers have imposed some upper limit on the number of configurations - but so far no one has hit that limit, whatever it is.

TwoConfigurations.png

20th Annual
Microchip MASTERs Conference 2016
Register now - Deadline: July 29

JW Marriott Desert Ridge Resort-Phoenix, AZ

© 2016 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.