2.4 Install Harmony 3 Dependencies

This section describes in detail on how to install the correct versions of the required Harmony 3 component dependencies. The following table summarizes the components and versions that will be installed.

Table 2-3. Harmony Components

Harmony components to be cloned with MCC Content Manager

Version

csp

3.18.0

core

3.13.0

dev_packs

3.17.0

bsp

3.17.0

CMSIS-FreeRTOS

10.3.1

crypto

3.8.0

wolfssl

4.8.1

Zlib 1.2.13

wireless_ble

1.1.0

wireless_system_pic32cxbz_wbz

1.3.0

wireless_apps_pic32cxbz2_wbz45

3.0.0

wireless_pic32cxbz_wbz

1.2.0

wireless_zigbee 5.1.1

Cloning Harmony Repositories using MCC Content Manager Wizard

  1. Create a new “MCC Harmony” project (Create an empty project and clone the required repositories to clone the Harmony repositories)

    1. In MPLAB X IDE, select New Project
      Figure 2-5. New Project Creation
    2. In the New Project tab, select 32-bit MCC Harmony Project
      Figure 2-6. MCC Harmony Project option.
    3. Framework Selection (Local PC directory where cloned repos are placed)
      Figure 2-7. Framework Selection
    4. In the New Project tab, select the project settings and the correct Project Folder Path and Name Selection.
      Figure 2-8. Project Settings
    5. In Configuration Settings, select the device WBZ451.

      Figure 2-9. Configuration Settings
  2. Open MPLAB Code Configurator after creating the project. MCC Content Manager window appears in IDE.

    Figure 2-10. MCC in IDE.
  3. In the Content Manager Wizard Window, select MPLAB Harmony.
    Figure 2-11. MCC Content Manager Window
    Select Optional Content as illustrated in the following figure.
    Figure 2-12. Optional Content Window MCC
  4. Ensure all components are selected as displayed in the following image. Ignore version selection for now, as it will be taken care at a later stage.
    Figure 2-13. Required Content
  5. Select Finish. The downloading of selected components from harmony repositories will take some minutes. If all the selected components are cloned successfully, MCC logs in IDE will display the following information.
    1. Figure 2-14. MCC Logs Snapshot when all selected components are cloned successfully
      Figure 2-15. redownloading "dev_packs" .
  6. Select/Confirm the Harmony Framework Path.
    Figure 2-16. Harmony Framework Path Selection
    Note: Framework Path selection window appears beneath the Initializing Project pop-up. Choose <C:\mchp>
    in the Path field.
    Figure 2-17. Framework Selection Path
    Project Graph Window appears after choosing the framework path and successful initialization of the project.
    Figure 2-18. Project Graph
  7. Change to content versions recommended for use during development in the table. In the Content Manager tab, of the Device Resources, select Apply. This step is important and must be followed by the user as every wireless stack and app example release is tested with certain version of dependent component.
    Figure 2-19. Changing content versions

After successfully checking out the right version of content/components, for more details on developing an application, refer to start developing application examples.