Custom Board Support Package (BSP) Tutorial: Step 5

Step 5.1: Create a New MPLAB® Harmony Project

1

Create a new Harmony project inside the Harmony framework in which you have added the custom Board Support Package (BSP). Refer to "Create a New MPLAB® Harmony v2 Project" to create a new MPLAB Harmony project.

2

Make sure that you:

  • Select the MPLAB Harmony Path, because it contains the new BSP.
  • Select the target device for which you have created the custom BSP (PIC32MZ2048EFM100 for the PIC32MZ EF Curiosity Development Board).
project_settings.png

Step 5.2: Verify That the New BSP is Created for the Device

1

In MPLAB X IDE, navigate to Tools > Embedded > MPLAB Harmony Configurator.

mhc_navigate.png

2

In MHC, navigate to BSP Configuration > Use BSP > Select BSP to use for PIC32MZ2048EFM100.

You can see the newly created BSP under this menu.

new_bsp_navigate.png

Step 5.3: Verify BSP Components in MHC

1

Verify the Clock Configuration.

Navigate to the Clock Diagram tab of MPLAB Harmony Configurator (MHC). The Clock Configuration shows the clock configuration values for the PIC32MZ Family. The Clock Configuration should be similar to the graphics shown below.

clock_config_1.png
clock_config_2.png

2

Verify the pin settings.

Navigate to the Pin Settings tab of MHC. The Pin Settings will be those you configured in bsp.hconfig.

pin_settings.png



Next Step >

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.