Microchip PIC32 Starter Kits

sean72kimo wrote on Friday, December 16, 2011:


I am a newbie in this field. I purchased the Microchip PIC32 Starter Kits on freeRTOS.
In the example code like “pwm_dma.c”, some macro are not defined, but I can still compile and successfully build without warnings or errors.

If I open the project with Eclipse, it clearly states “can’t be resolved” and I can’t use “go to definition” to the header file. But if I put the #define back to the source, Eclipse can easily guide me to the header file.

Does anyone know where else can the macro be defined?

ps. I checked the makefile, it’s not in there.


rtel wrote on Friday, December 16, 2011:

I didn’t even know you could use the starter kits with Eclipse, and am not familiar with the code you are using.  Sorry - but all I can suggest is doing a search in files/grep in the compiler and library directories for the macro you are looking for.  If the code compiles without it, then either it is not used, or it is defined somewhere.