10.1 Compiler Advisor

Note: This content is also in the Compiler Advisor in MPLAB X IDE User Guide (DS-50003215).

Compiler Advisor displays a graphical comparison of sets, with carefully selected available compiler optimizations using project code.

Figure 10-1. Compiler Advisor Example

This MPLAB X IDE plug-in can be useful in:

  • Providing information on available compiler optimizations for each compiler type (XC8, XC16, XC-DSC, XC32).
  • Demonstrating the advantages each optimization provides for a project in an easy-to-read, graphical form for program and data memory size.
  • Saving desired configurations.
  • Providing links to optimization definitions for each configuration.

Compiler Support

Supported compiler versions:

  • MPLAB XC8 v2.30 and later
  • MPLAB XC16 v1.26 and later
  • MPLAB XC-DSC v3.00 and later
  • MPLAB XC32 v3.01 and later

No license is required for use. However, the number of optimizations for a free compiler will be less than for a licensed compiler.

MPLAB X IDE and Device Support

All devices supported in MPLAB X IDE will be supported in Compiler Advisor. Updated Device Family Packs (DFPs) will add device support.