chipKIT® Development Platform

Inspired by Arduino™

Custom Libraries

Created Sat, 25 Jun 2011 05:56:26 +0000 by Mr_Fixit


Mr_Fixit

Sat, 25 Jun 2011 05:56:26 +0000

Prior to 20110619, we were able to add our own custom libraries by simply placing them in a subfolder within the Libraries folder. However they no longer show up after 20110619. Also noticed the keywords.txt file, which is straight forward, but... kinda strange that the compiler does not determine this by its self.

Anyway, post 20110619, how do we add our own libraries?


Mark

Sat, 25 Jun 2011 11:49:08 +0000

The proper place to put your custom or 3rd party libraries is in the sketches/libraries.

"sketches" is what ever folder you have told Ardunio/MPIDE to use as your sketches folder

One word of caution when writing custom libraries that you place in here. Make sure you use appropriate #ifdefs

#if defined(PIC32MX) // pic specific code

#endif


Mr_Fixit

Mon, 27 Jun 2011 03:04:47 +0000

Mark,

Thanks. that did the trick.