On Wed, Feb 9, 2011 at 2:00 AM, V G wrote: > On Wed, Feb 9, 2011 at 1:17 AM, Matt Callow wrote: > >> Are these functions inline, or maybe just #defines? >> Possibly the way that the IDE resolves this references is different to >> the way that the linker does. >> > > They're neither inline, nor macros. > > I installed it, but didn't go much further when I found out that it >> doesn't support PicKit2 >> > > Why not just use the PICKIT2 standalone program? > Actually, it seems that: 1. mCTClearIntFlag() is in int.h like this: #define mConfigIntCoreTimer(config) (mCTClearIntFlag(), mCTSetIntPriority(((config) & 7)), mCTSetIntSubPriority((((config) >> 4) & 3)), mCTIntEnable(((config) >> 15))) I've never seen something like this in C. What's going on here? 2. INTEnableSystemMultiVectoredInt() is defined in "peripheral/legacy/int_legacy.h" but I did not find it included anywhere, s= o it's a mystery how it compiles and works. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .