Logical Folders
Logical Folders
Logical folders are the blue folders displayed in the Projects window. These folders are strictly for organizing files within the IDE and do not represent the actual location of files on your hard drive. The Files window shows the actual files and directory structure of your project.

By default, MPLAB® X will populate your project with six logical folders:

  1. Header Files
  2. Important Files
  3. Linker Files
  4. Source Files
  5. Libraries
  6. Loadables

While most of the folders are dedicated to the function for which they are named and can only contain files related to those functions, the Header Files and Source Files folders are much more flexible. Either of those two folders may contain both source and header files and the folders themselves may be renamed to anything you like. The same is true for any logical folders you create yourself.

You may create new logical folders at the top level or as a sub-folder to one of the existing logical folders. This gives you tremendous flexibility in the organization of your files to make it easy to find and work with everything in your project. The libLCD24 folder shown in the image at left is one possible example of a user created logical folder. Also, if you prefer to mix related source and header files in a folder together, you are free to do so.

Click image to enlarge.

Logical Folder Activities

Create a Logical Folder
Rename a Logical Folder
Remove a Logical Folder

© 2017 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.