lpcware

emWin GUI_ALLOC_AssignMemory problem?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by ofheybeli on Wed Dec 05 02:55:09 MST 2012
My Code:
#define GUI_NUMBYTES   ( 1024 * 1024 * 16 ) / 8
#define GUI_BLOCKSIZE 0x80

void GUI_X_Config(void) {
static U32 aMemory[GUI_NUMBYTES / 4];
GUI_ALLOC_AssignMemory(aMemory, GUI_NUMBYTES);
GUI_ALLOC_SetAvBlockSize(GUI_BLOCKSIZE);
}
Error

.\Output\GUI_deneme.axf: Error: L6406E: No space in execution regions with .ANY selector matching guiconf.o(.bss).
.\Output\GUI_deneme.axf: Error: L6407E: Sections of aggregate size 0x200000 bytes could not fit into .ANY selector(s).

ı don't undrestand where am ı wrong? Please help?

Outcomes