Managing DFPs for Different Projects

How do you manage DFPs for different MPLAB® X project types?

Normal MPLAB X IDE Projects

A base set of DFPs are installed with MPLAB X IDE (System DFPs) while updates are installed via the Pack Manager in the IDE (User DFPs).

packs-manager-dfp-locations.png

DFP Persistence

When you uninstall MPLAB X IDE, you uninstall the System DFPs. However, the User DFPs will persist on your computer.

Archiving your Project's DFP

To rebuild your project, you will need to archive the DFP version used with your project.

DFP Repository

The DFP repository used by the Packs Manager in MPLAB X IDE is hosted on https://packs.download.microchip.com.

mchp-packs-repo.png

DFP File

DFP files are published with an ATPACK extension and can be re-installed through the Pack Manager as shown:

dfp-install-from-source.png


For command-line usage, you can extract the contents of the DFP in a folder browser, by simply replacing the ATPACK extension with ZIP and extracting the archive on your computer. You can then use the -mdfp switch to specify a DFP to use for compilation:

-mdfp="C:/My Folder/SAME54_DFP/3.2.56"

MPLAB Harmony 3 Projects

The Harmony 3 framework maintains its own repository of DFPs in GitHub: https://github.com/Microchip-MPLAB-Harmony/dev_packs.

When you use the Harmony 3 Content Manager to download components to your PC, a copy of this repository is also downloaded.

h3-dfp.png


When you build a Harmony 3 application using MPLAB Harmony 3 Configurator, all the required DFP files are copied into the Harmony 3 project folder. The MPLAB X IDE DFPs are not used:

h3-project-dfp.png


Summary

  • A Harmony 3 project is self-contained (no dependency on DFP).
  • The project can be shared without the need to archive, share or install a DFP.


© 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.