MPLAB® Code Configurator Options

Last modified by Microchip on 2024/01/22 16:42

Several aspects of the operation of MPLAB® Code Configurator (MCC) can be managed by using the Options panel, which can be invoked by selecting Tools > Options > Plugins (for Mac® it is under MPLAB X IDE > Preferences > Plugins).

options window

File Handling

There are two options for file handling:

File Handling options

  1. Remove unused files from the project: Enabling this option tells the MCC to remove .c and .h files for modules that were removed from the MCC configuration between the subsequent generation procedures. This option ensures that the files that are included in the project (and thus in the compilation) are only those that are strictly necessary. However, this will not delete the files from the disk.
  2. Delete unused files from the disk: This option gets enabled only when selecting Remove unused files from the project. This performs the additional task of deleting unused files from the disk and therefore, files cannot be recovered anymore.

Back to Top

MCC Line Endings

Specify the type of line endings to use in the files generated by MCC.

Line Endings options

The default is DOS (<CR><LF>). Unix line endings (<LF>) may be specified.

Back to Top

Editor Behavior

There are two options for the IDE operations:

behavior options

  1. Always ask before removing a module: Enabling this control enables the Are you sure? dialog box which appears while disabling or removing an enabled module.
  2. Always ask before removing a pin: Enabling this control enables the Are you sure? dialog box which appears while deallocating or removing a pin from a peripheral.

Back to Top

MCC Libraries

Libraries can be added through this setup. This has essentially been upgraded through the Versions Tab.

Use the Install Library/Core button to add an MCC modular Library or Core to the MCC plugin

  1. Use the Install Library/Core button to add an MCC modular Library or Core to the MCC plugin.
  2. Use the Open Library Core Folder button to view the MCC modular Libraries/Core folder.

Back to Top