14.26.3 Build Tools Tab

Tools > Options (MPLAB X IDE > Preferences for macOS) and then Embedded > Build Tools to see the options listed below.

Ensure that you have INSTALLED THE LANGUAGE TOOLCHAIN or it will not show up on the “Toolchain” list. If you know you have installed it but it is not on the list, click Scan for Built Tools. If it is still not found click Add to add the tool to the list.

Other tools may be obtained from the Microchip web site (www.microchip.com) or third parties.

Table 14-99. Build Tools Tab Items
Item Description
Toolchain Shows a list of language tools installed on your computer.

Select the tool for your project and ensure that the paths (that apply) to the right are correct.

Base directory: Path to the tool’s main folder.

C compiler: Path to the C compiler (if available).

Assembler: Path to the assembler (if available).

Make command: Name of the make command generated by MPLAB X IDE.

Add Add a new language tool item to the list.

Also consider using Scan for Build Tools.

Add Custom Compiler Add a customized compiler.

In this case, you must specify Microchip devices supported.

Note: f the compiler is not currently supported by MPLAB X IDE, you may be able to use it by editing or creating your own makefile outside of the IDE. See:

microchipdeveloper.com/mplabx:work-outside-create-makefiles

Remove Remove a language tool item from the list.

This does not remove the language tool from the computer.

Default Click on a tool and then click Default to make this tool the default compiler/assembler for the selected device.
Scan for Build Tools Scan the computer for installed compilers/assemblers in various default locations, NOT the whole system.

If you install in a different location, add the compiler manually.