AnsweredAssumed Answered

emWin 6.10f: APPW_Init()

Question asked by lsrbigfoot on Jun 1, 2020
Latest reply on Jun 4, 2020 by Chris Brown

I am in the process of setting up emWin to run on a custom board (custom bsp) with MK22FX512AVLQ12 MCU.

 

There appears to be a library call "APPW_Init()" that is found in APPMainTask.c for most BSP examples that use emWin 6.10f along with AppWizard:

 

"...

void MainTask(void) {
//
// Setup configuration dependent pointers
//
APPW_X_Setup();
//
// Initialize AppWizard
//
APPW_Init(APPW_PROJECT_PATH);
//
// Create initial screen...
//
APPW_CreateRoot(APPW_INITIAL_SCREEN, WM_HBKWIN);

..."

 

Is the APPW_Init() needed when compiling AppWizard in my custom board project?

What happens if APPW_Init() is commented out (or not used)?

 

What resource files from "APPW_PROJECT_PATH" are accessed when App_Init() is called?

Outcomes