4 Compiling and Debugging the Demo Application

The following steps describe how to compile the demonstration application using the MPLAB® X ecosystem.

???

We will build the demo application (ocpp_v16_apps_charge_point), which links to the pre-built OCPP stack library located at demo_ocpp_v16_harmony/apps/firmware/ocpp_lib.

  1. Open the demo application using MPLAB as illustrated below. The MPLAB X project file is stored at demo_ocpp_v16_harmony/apps/firmware/ocpp_v16_apps_charge_point.

    ???

  2. Select this project as Main Project.

    ???

  3. Right-click on the project and select Properties.
    1. Select the latest Device Family Pack (DFP) and the latest XC32 compiler.

      ???

    2. Click Apply and then Close.
  4. Right-click on the corresponding project name and select the option Clean and Build.

    ???

The following message confirms that the build is successful.