Because you are familiar with MPLAB® X IDE, we assume you have created a new "Standalone Project". Creating an "MPLAB Harmony Project" does a lot of work for you that isn't done with the creation of a "Standalone Project".

Used by MHC along with the FreeMarker template technology to generate the source code files

configuration.xml

Stores Harmony configuration settings that MHC needs to remember. A checksum is used to determine if a setting has changed:

Harmony Files created after clicking the "Generate" button:

After using MHC to configure the Harmony Framework, you will click the "Generate" button to generate the source files.

At this point, you will be asked if you want to save the current MHC configuration. If you save it, this file will be generated:

<project config name>.mhc

This file captures all the selections you make in the MHC GUI.

​

The MHC configuration file can be shared or copied to duplicate a complete set of configuration selections.

MHC will then generate new source files based on your selections. You will be happy to know it doesn't blindly overwrite the existing source files (unless you tell it to). You will be asked if you want to "overwrite local changes". You will probably want to leave this box unchecked. The unchecked box allows you to identify and keep any changes you may have made to source files modified by MHC. This is accomplished with the help of a merge window (diff utility) which is automatically opened for you. Clicking "Save Merge and Continue" (top right corner) will save the merged file as it is shown in the window on the right side.

The following files will be generated by MHC (Additional files may also be generated based on your Harmony Framework configuration selections):

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.

Click here to edit contents of this page.

Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.

Append content without editing the whole page source.

Check out how this page has evolved in the past.

If you want to discuss contents of this page - this is the easiest way to do it.

View and manage file attachments for this page.

A few useful tools to manage this Site.

See pages that link to and include this page.

Change the name (also URL address, possibly the category) of the page.