chipKIT® Development Platform

Inspired by Arduino™

Using chipKit MX4 with MPLAB

Created Wed, 13 Apr 2016 01:13:18 +0000 by Batman


Batman

Wed, 13 Apr 2016 01:13:18 +0000

Hi, I've just recently invested in a chipKit MX4 and need a little bit of help setting up MPIDE X to work with the board. At present I have installed everything including the XC32 1.40 compiler however when I attempt to compile I get a bunch of errors:

configuration_bits.c:9:81: fatal error: plib.h: No such file or directory #include <plib.h> /* Include to use PIC32 peripheral libraries

I'm quite new to this and would appreciate any help.

Regards

Bach


majenko

Wed, 13 Apr 2016 08:48:04 +0000

PLIB has been deprecated some time back. You should not be using plib any more. Instead it has been replaced by harmony. It is still possible to use plib by (iirc) adding special command line flags. You will have to check the microchip docs and/or forums for that though.

Sent from my SM-T555 using Tapatalk