Step 3: Generate MPLAB® Harmony Code and Build Project
Expand the source file folders in the Projects pane. Notice that these are the files from Lab 1 that you copied to this directory.
Click on the Generate Code button as shown in the accompanying image. Notice the Merging Strategy option.
Let’s examine what was done after MPLAB® Harmony Configurator (MHC) generated the code:
The Source Files folder contains files related to your specific application. In the following steps you will add your application code to the existing app.c and app.h files. You will also add other application-specific source files to the project.
The Source Files/config/default folder contains customized Harmony Framework files. These files have been generated by MHC in response to your specific MHC selections.
MHC has added some new (with respect to the previous lab) folders to this lab. Under Source Files/config/default new files were added to the driver and peripheral folders; sdspi, and spi respectively. These folders include source files that implement the MPLAB Harmony SD card, and Serial Peripheral Interface (SPI) drivers.
MHC also added the fs folder under the Source Files/config/default/system folder. MHC knows the Harmony SD card driver requires the File System Service library, so it added it to the project for you.