MCC Merge Window

MPLAB® Code Configurator (MCC) Merge Window

One of the MPLAB® X features which MCC utilizes in the Merge window is the Diff Tool. The tool prevents the MCC code generator from overwriting any modifications made to an MCC generated file without approval. When MCC detects a user modification to an MCC driver file during generation, the Merge screen appears as shown here.

MCC Generated Change Highlighted


The new MCC generated code is shown on the left, and the previous version of the file with any user modifications is shown on the right as Merge Result (existing user modifications merged with existing MCC driver file). Description links at the top let you quickly move between each of the detected differences to accept or ignore the newly generated code changes.

Clicking on the arrow at the top center margin (circled in blue) causes MCC to replace all differences with the newly generated code, thus, replacing any code on the right that you may have added.

Clicking on the arrow within the highlighted area of a difference block (circled in red) will only copy that MCC generated change to the file to be saved. This allows you to accept only the updated MCC generated changes while leaving the user-modified code in place.

User Modifications Highlighted


Not clicking on any arrows and closing the Merge window will ignore any newly generated MCC code with the result that no changes are implemented.

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
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.