/*********************************************************************
*
* Public code
*
**********************************************************************
*/
/*********************************************************************
*
* GUI_X_Config
*
* Purpose:
* Called during the initialization process in order to set up the
* available memory for the GUI.
*/
void GUI_X_Config(void) {
//
// 16 bit aligned memory area
//
volatile U16* aMemory = (volatile U16*)(Bank1_SRAM3_ADDR);
//
// Assign memory to emWin
//
GUI_ALLOC_AssignMemory((void*)aMemory, 512*1024);
GUI_ALLOC_SetAvBlockSize(GUI_BLOCKSIZE);
//
// Set default font
//
GUI_SetDefaultFont(GUI_FONT_6X8);
}