8.1.1 Add the Source Files to the Project

  1. In the MPLAB X project pane, right-click the source folder.
  2. Select Add Existing Items from Folders.
    Figure 8-1. Add Source Files to a Project
    ???
  3. Open the knowledgepack folder.
    Figure 8-2. AI/ML Model C Files Location
    ???
  4. Select C source files and click Add.
  5. Repeat the previous step, but this time add the header files of the knowledgepack folder.
  6. Right-click Libraries and select Add Library/Object File.
    1. Look for the .a file within mplabml/lib folder.
  7. Ensure the project looks similar to Figure 8-3.
    Figure 8-3. Complete MPLAB® IDE Project
    ???