Logical folders are the blue folders displayed in the Projects tab. 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 tab shows the actual files and directory structure of your project).
By default, MPLAB® X will populate your project with six logical folders:
- Header Files
- Library Files
- Linker Files
- Object Files
- Source Files
- Important Files
However, you are not obligated to use any of these. You can technically place any file in any folder and it will still work. MPLAB X keeps track of files based on their type, rather than which logical folder they are placed in. These folders are merely a suggestion for a convenient way to organize files in a project.
You may also create new logical folders at the top level or as a subfolder 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.
How to create a Logical Folder
Create a new Logical Folder
Right click on the node in the project tree where you wish to create a new logical folder. For example, to create a logical folder at the top level, right click on the chip icon with your project name. Or, to create a sub-folder in the Source Files folder, right click on the Source Files folder. Then, select New Logical Folder from the pop-up menu.
How to remove a Logical Folder
Information contained in this publication 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.