Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.4 Project Layout
This section explains how a MLA demo projects are organized.
Description
To facilitate configurability, MLA projects are structured in a way that isolates the code necessary to configure a "system"
from the library modules themselves and from application code. The first figure illustrates this concept, while the second
figure shows how the files might appear in an MPLAB X IDE project.
The application files (main.c in the example) are separate from the configuration files in the “system_config” folder, so it is
possible for a single project to have more than one configuration. (Usage of this capability can be seen in example projects
included) The framework modules use the definitions provided in the selected system_config.h for its configuration.
A MLA demo Project is organized as shown below within MPLAB X.
This organization consists of a "logical" folders and source files, as described below.
The "app" folder, which contains:
•
Demo specific files
The "app" (short for "application") folder contains all of the application's firmware source files for the project. In a simple
project, the "app" folder contains the demo specific file for the logic of the application itself. This is where the desired overall
behavior of the application is usually implemented (although complex applications may have additional files/folders).
The app folder also consists of the system_config folder.
The "system_config" folder
The "
system_config"
folder contains one or more subdirectories, each of which corresponds to a build configuration. MLA
projects can have multiple build configurations. Each build configuration consists of a specific set of properties (tools
settings) in MPLAB X IDE and a set of source files that which modules are initialized and maintained in your system.
1.4 Project Layout MLA - Getting Started Help
9
1
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_getting_started.pdf