6.5 Modifying the PLIB and Maintaining it While Regenerating the Code

There are some rare use cases where a specific feature or minor modification must be done in a PLIB (for example, API addition). In those cases, the user can modify the PLIB as needed. After the manual PLIB change, the user can change the PLIB configuration. While regenerating the code after this change, the PLIB will be changed according to the new configuration.

The user can maintain their manual change and allow only the configuration changes which are updated in the PLIBs. To do this, when the merge window appears, the user can accept or reject the changes in the MPLAB Harmony v3 framework files.

Figure 6-1. Keeping Custom Changes in PLIB While Regenerating The Code