Select Tools>Options (MPLAB X IDE>Preferences for macOS) and then click the Embedded button, Build Options tab, to see the options listed below.
Ensure that you have INSTALLED THE LANGUAGE TOOL 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 compilers. If it is still not found click Add to add the tool to the list.
The following language tools are included with MPLAB X IDE:
Other tools may be obtained from the Microchip web site (www.microchip.com) or third parties.
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. |
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. |