Step 7: Include Application Specific Source Code and Files
1
Replace the app.c and app.h files generated by MPLAB® Harmony Configurator (MHC) with the new app.c and app.h files provided to you in the "Lab Source Files and Solutions" download section on "MPLAB Harmony v2 Web Photo Frame Tutorial". Copy these files from this folder:
apps/training/middleware/web_photoframe/web_photoframe_lab/dev_files/source_files
to this one:
apps/training/middleware/dev/web_photoframe/web_photoframe_lab/firmware/src.
2
Finally, you need to add an application specific definition in the system_config.h file. Open system_config.h (in the Header Files/app/system_config/pic32mz_ef_sk_meb2 folder), and add the following code in the "Application Configuration" section. This macro is used in app.c in the APP_Initialize() function.