ElectricRCAircraftGuy / Microchip_XC32_Compiler

[Works!] Build your own license-free, GPL version of the latest gcc-based Microchip MPLAB X IDE XC32 C++ compiler
GNU General Public License v3.0
5 stars 1 forks source link

Get MPLAB X IDE to use my custom compiler build #3

Open ElectricRCAircraftGuy opened 8 months ago

ElectricRCAircraftGuy commented 8 months ago

2 Compiler is not installed in the default path The compiler installed in the default path is automatically added to the list of available compilers under MPLAB X IDE. If the compiler is not installed in the default path, then the compiler needs to be manually added under MPLAB X Tool options.

Under MPLAB X IDE, go to Tools>Options>Embedded>Build tools>Add>Browse and select the bin folder of compiler directory (e.g., E:\Microchip\xc8\v1.45\bin).

https://microchipdeveloper.com/faq:3438#:~:text=If%20the%20compiler%20is%20not,%3A%5CMicrochip%5Cxc8%5Cv1.

ElectricRCAircraftGuy commented 7 months ago

Note: license files are located at these paths here. You may need to delete or move these license file for testing to ensure the custom-built compiler works without a license:

Microchip MPLAB X IDE XC32 compiler location/path:

# Linux
/opt/microchip/xclm/license/microchip-1.lic

# Windows
C:\ProgramData\Microchip\xclm\license\microchip-1.lic