chipKIT® Development Platform

Inspired by Arduino™

Library folders location

Created Thu, 08 May 2014 05:40:10 +0000 by Ian Billing


Ian Billing

Thu, 08 May 2014 05:40:10 +0000

Can someone tell me what the difference is between the libraries located at:

\libraries\

and

\hardware\pic32\libraries\

and when the different libraries would be used?


EmbeddedMan

Thu, 08 May 2014 16:37:57 +0000

The first one is only used when compiling for Arduino targets. The second is used when compiling for PIC32 (chipKIT) targets.

So if you get a new library, and you want to use it with a chipKIT board, put it in the second path and restart MPLAB IDE.

*Brian


majenko

Thu, 08 May 2014 18:03:48 +0000

No, don't put it there - put it in the libraries folder in your sketchbook - that way it survives upgrading MPIDE.


EmbeddedMan

Thu, 08 May 2014 20:13:07 +0000

Even better! I didn't even realize there was a libraries folder there. Cool.

*Brian


majenko

Thu, 08 May 2014 21:50:36 +0000

... and on UECIDE there's as many libraries folders as you want, each with its own menu entry... ;)


Ian Billing

Sun, 11 May 2014 07:32:41 +0000

Thanks for the info!