Compiler Settings for Harmony v2
The MPLAB® Harmony Project Wizard will properly configure the XC32 compiler settings. The following steps will be completed for you:
1
Open the Project Properties window.
Click here for details.
4
Folders containing any source files found outside of the project folder (<your_project_name>.X) need to be added to the compiler include directories. Your project's src and src/system_config folders will be added.
- Click the xc32-gcc category in the Project Properties dialog.
- Select Preprocessing and messages from the Options category drop down list.
- Click the […] button located next to Include Directories.
- Click Browse in the Include Directories dialog.
- Navigate to the <install-dir>/apps/<your_project_name>/firmware/src folder.
- Click Open.
- Click Browse in the Include Directories dialog.
- Navigate to the <install-dir>/apps/<your_project_name>/firmware/src/system_config folder.
- Click Open.