in order to integrate an Embedded Wizard example into your custom board, let me recommend to start with the Build Environment for the PIC32MZ-DA and follow the Getting Started with Microchip PIC32MZ-DA. Based on that it will be much easier to migrate to your own hardware. The file ewmain.c is part of the main loop that drives the entire GUI application.
The generated code contains only the GUI application itself without integration into a dedicated environment. Just put this code without any changes into your build process.
Hope this helps...
I am talking about our Embedded Wizard Build Environment for PIC32MZ-DA - there you will find the folder /PlatformPackage - see section Exploring the Build Environment.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!