MPLab X

20170106

(PIC32MX695F512L)

Dell XPS 2710 W10

Installed full MP Lab X 3.50 package all options

Near end of install it

  1. Reminded me to use switcher for IDe V8.x to MPLab X switching
  2. Optionally took me to links for:
    • XC compilers (I downloaded XC32)
    • Harmony 2.0 beta
    • MPLab Code Configurator
  3. Gave me host ID and license type links
    • I got trial license using host id and ran provided .bat file

Opened provided MPLab X project, got error re missing plib.h etc

  • DL & Installed:
    • PIC32 Legacy Peripheral Libraries – Windows 6/17/15
    • Installer said IMPORTANT to install after compiler so note to self to uninstall in reverse order

Still get error so tried:

  • File->Project properties->XC32 (Global Options) and checked Use Legacy libc

Now I get:

In file included from ../xxxx/xxxx.c:7:0:
c:\program files (x86)\microchip\xc32\v1.42\pic32mx\include\lega-c\plib.h:41:30: fatal error: peripheral/adc10.h: No such file or directory
 #include <peripheral/adc10.h>

So:

  • Project properties->XC32-xc32-gxx:
    • Option Categories: = Preprocessing & messages
      • Added specifc path “C:\Program Files (x86)\Microchip\xc32\v1.40\pic32mx\include\lega-c”

Uninstalled all, installed MPLab X 3.15, XC32 1.33 per KE2

Host ID isĀ 5cf9dddd73e2 for XC 1.33