Preferred Method to Use Loadables in MPLAB® X IDE

Last modified by Microchip on 2024/06/24 06:33

The recommended way to use loadables is:

Select the project that sets the device configuration bits and initialization as the main project (right click and select “Set as Main Project”). The loadable should not have device configuration settings as this will conflict with the main project.

Add the other projects as loadables to this main project. If the project being loaded has more than one project configuration, be sure to specify that when loading.

Specifying the project containing the loadables as the main project ensures that a change in any loadable will be picked up by the build when the Build button Build Project Icon is clicked.