User Guide Topics

Detailed instructions for installing and configuring Microchip compilers for code generation.

Compiler Selection by Family

Device FamilyCompilerMin Version
dsPIC 30F/33F/33EXC16v1.26+
dsPIC 33C/33AXC-DSCv3.20+
PIC32XC32v2.40+
SAM (ARM)XC32v2.40+

Note: XC32 is based on ARM GCC and supports both PIC32 (MIPS-based) and SAM (ARM Cortex-M) devices. The compiler automatically adapts to the target architecture.

Installation Paths

Windows (Default):

  • XC16: C:\Program Files\Microchip\xc16\
  • XC-DSC: C:\Program Files\Microchip\xc-dsc\
  • XC32: C:\Program Files\Microchip\xc32\

Manual Configuration

If auto-detection fails, set compiler path in:

  • Model Configuration Parameters (Ctrl+E)
  • Code Generation → MCHP Target
  • Compiler Version → Browse to bin folder

Home | User Guide | Code Generation | External Mode | PIL Testing | Video Demos | Block Reference