The Resource Management Area comes with two separate views: the tree view and the flat view. Both provide access to the complete list of software/peripheral components and the selected components for the current project configuration. For more details on each view, refer to Resource Management Area - Tree View and Resource Management Area - Flat View sections.
The Project Resources section is common to both views of the Resource Management Area. This section displays the list of on-chip peripherals, external components, and libraries that have been selected for the current MCC project. The information specific to each of the two views regarding this section is available in Resource Management Area - Tree View and Resource Management Area - Flat View sections.
There system modules are always available in the Project Resources section. These modules cannot be removed. The modules are:
A module in the Project Resources window can be removed from the project by clicking the
or
button to the right of the module name in the Project Resources section. The module will
be removed from the MPLAB X IDE project. When a module is removed from the Project
Resources, all the unsaved configuration information for that module is lost.
At the top of the Project Resources section, there are three buttons:
.mc3
extension) can be imported into the current project. If
the selected configuration has been created for a device other than the one used in
the current project, an alert message pops up offering the possibility of an
experimental configuration migration. Once a configuration file is selected, MCC
loads and configures all modules detailed in the selected configuration file. If
there is a match between a module from the configuration and a module already loaded
in the current project, the settings for the loaded module are overwritten with the
ones from the imported configuration file. This is useful for the partial
configurations created manually or provided by the Export functionality detailed
below. In the case of importing a configuration created for a different device than
the one used in the current project, an alert message pops up offering the
possibility of an experimental configuration migration or canceling the import
process (See Figure 1). During device
migration, the import process might fail due to hardware mismatches between the two
devices. In this case, a backup configuration file is created and saved in the
project folder. (See Section 6 “MCC Device Migration”).Besides the partial configuration export mechanism, the Context menu of the Project Resources Area (displayed above) includes several other operations on the loaded components or modules, such as:
This view is further split into the Projects Resources section (detailed at the beginning of Resource Management Area chapter) and the Device Resources section. See Figure 3.
Both sections in the Tree View can also be navigated and handled by using the following keys:
This section displays the peripherals, libraries or external components selected for the
current project. The selection is done via the Device Resources section. The System
Module, Pin Module, and Interrupt Module are selected by default. The configuration for
each of the selected modules is done through the Composer Area. The peripheral and
libraries are added to the project by selecting them from the Device Resources section.
To add a peripheral or library to the Project Resources section, double-click on its
name in the Device Resources section. The configuration can then be done via the
corresponding GUI in the Composer Area. A module in the Project Resources window can be
removed from the project by clicking the button to
the right of the module name in the Project Resources section. The module will be
removed from the MPLAB X IDE project. When a module is removed from the Project
Resources, all of the unsaved configuration information for that module is lost.
The Device Resources section (see figure below) lists the data sheet, external components, and libraries available for the device configured in the MPLAB X IDE project, based on the loaded libraries in the Versions area. When the name of a peripheral or library is double-clicked, it is moved from the Device Resources area to the Project Resources area, simultaneously invoking the Pin Manager with all associated I/O pins.
Right-clicking on a module or component in this tree shows the Device Resources context menu through which the help content of the selected module can be invoked. The Device Resources list can be filtered via the top combo box (see figure below). The available filters are:
This view is further split into the Projects Resources section (detailed at the beginning of Resource Management Area chapter) and the available resources section. See figure below.
This section displays the peripherals, libraries or external components selected for the
current project. Selection is done via the Available Resources window, which can be
accessed from the Available Resources section (see The Available Resources section). The Project
Resources section in the Flat View is similar to the Project Resources in the Tree View
(see The Project Resources section). A module
in the Project Resources section in the Flat View can be removed from the project by
clicking the button to the right of the module name. The module will be
removed from the MPLAB X IDE project. When a module is removed from the Project
Resources, all the unsaved configuration information for that module is lost. Next to
the
button, the
button offers insight into a specifically selected module.
The same module information can be retrieved from the [module_name] Help option in the
Project Resources context menu (see Figure 2).
This section contains two buttons: