Difference between revisions of "Microchip MPLAB Files"
Line 9: | Line 9: | ||
** MPLAB C32 User Guide.pdf |
** MPLAB C32 User Guide.pdf |
||
* examples |
* examples |
||
⚫ | |||
** plib_examples |
|||
*** adc10 |
*** adc10 |
||
*** timer |
*** timer |
||
⚫ | |||
* lib (contains various compiled libraries with .a extensions, and .h header files; none we need to worry about) |
* lib (contains various compiled libraries with .a extensions, and .h header files; none we need to worry about) |
||
* pic32-libs |
* pic32-libs |
Revision as of 16:25, 15 January 2011
When you installed the MPLAB IDE, the directory C:\Program Files\Microchip was created. It has a lot of stuff in it, some of it redundant. This page is to give you an idea of the directory structure, and to help you understand what code gets included when you specify your PIC32 type, and when you include plib.h, for example.
Not all files are mentioned here, just the ones that it is most helpful to know about to figure out what's going on. In the directory C:\Program Files\Microchip, there are a few subdirectories, such as Docs, MPLAB C32, and MPLAB C32 Suite. The contents of MPLAB C32 and MPLAB C32 Suite look very similar. Below we explore the MPLAB C32 directory, highlighting only the directories and files that are of particular interest.
MPLAB C32
- doc
- Microchip-PIC32MX-Peripheral-Library.chm
- MPLAB C32 Libraries.pdf
- MPLAB C32 User Guide.pdf
- examples
- plib_examples (lots of directories containing sample code using the peripherals; below are some examples)
- adc10
- timer
- plib_examples (lots of directories containing sample code using the peripherals; below are some examples)
- lib (contains various compiled libraries with .a extensions, and .h header files; none we need to worry about)
- pic32-libs
- dsp
- wrapper
- various .c files that call mips_XXX functions
- wrapper
- include
- math.h (math function prototypes)
- p32xxxx.h
- peripheral
- adc10.h
- lots of other peripheral library header files
- plib.h (includes all the peripheral library headers)
- proc
- p32mx795f512l.h (huge file defining SFR names and virtual memory addresses for the particular PIC)
- peripheral
- C source code for the peripherals, one directory per peripheral
- dsp
- pic32mx
- include (looks the same as the include directory above)
- lib (contains compiled libraries with .a extensions)
- mips16
- .a libraries for different PIC32's
- proc
- 32MX795F512L
- procdefs.ld (some virtual memory addresses for the linker for our PIC32)
- 32MX795F512L
- mips16