Custom Board Support Package (BSP) Tutorial: Step 5

Step 5.1: Create a New MPLAB® Harmony Project


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.


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).

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


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



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

You can see the newly created BSP under this menu.


Step 5.3: Verify BSP Components in MHC


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.



Verify the pin settings.

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


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.