Step 7: Include Application Specific Source Code and Files
Replace the app.c and app.h files generated by MHC with the new app.c and app.h files provided to you in the Lab Source Files and Solutions download. Copy these files from this folder:
to this one:
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.
Table of Contents