Project Paths in the Project Window of MPLAB® X IDE

Last modified by Microchip on 2023/11/09 09:12

All project related paths may be accessed in the Project Properties window. To open the Project Properties window:

Right click on the top node of the project in the project tree

Select Properties from the bottom of the pop-up menu

Set the Output Path

This feature from MPLAB® 8 is not currently supported. MPLAB X IDE has a fixed directory structure within your project directory. Output files are always sent to one of two locations depending on whether you built for debug or built for release. Adding an option for custom output directories is on the list for possible future enhancements.

Production Builds

Production builds always store the hex file in the following subdirectory of your project:
../MyProjectName/dist/default/production/MyProjectName.production.hex

Debug Builds

Debug builds always store the hex file in the following subdirectory of your project:
../MyProjectName/dist/default/debug/MyProjectName.debug.hex

In the above paths, MyProjectName is the name of your project and default is the name of the project configuration.

Set The Intermediates Path

This feature from MPLAB 8 is not currently supported. MPLAB X IDE has a fixed directory structure within your project directory. Intermediate files are always sent to one of two locations depending on whether you built for debug or built for release. Adding an option for custom intermediate directories is on the list for possible future enhancements.

Production Builds

Production builds always store the intermediate files in the following subdirectory of your project:
../MyProjectName/build/default/production/MyProjectName.production.hex

Debug Builds

Debug builds always store the intermediate files in the following subdirectory of your project:
../MyProjectName/build/default/debug/MyProjectName.debug.hex

In the above paths, MyProjectName is the name of your project and default is the name of the project configuration.