Using chipKit MX4 with MPLAB

Post Reply
Batman
Posts: 1
Joined: Wed Apr 13, 2016 2:04 am

Using chipKit MX4 with MPLAB

Post by Batman » Wed Apr 13, 2016 2:13 am

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

User avatar
majenko
Site Admin
Posts: 2164
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Using chipKit MX4 with MPLAB

Post by majenko » Wed Apr 13, 2016 9:48 am

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
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

Post Reply