Hi,
I am using emWin library for Graphic interface. Currently I have designed a screen with an image, 8 Icons and few numbers on the screen. I have a processor with 256KBytes of memory. When I compile the code, I see that my code occupies 90% of the program memory. I have checked the resource usage and the icons with screen should not be taking up so much memory. I commented the screen with just GUI_Init() and GUI_Delay() in the code and it occupies 16% of the memory.
1. Can someone explain what could be taking up so much memory space and how it can be reduced?
2. Will I need an external flash while using emWin to design more than two screens?
3. Is there a way to make use of just the code that's being used/ have I setup something wrong on emWin that could be causing this?
Appreciate all the help!
Best regards,
BMD
I am using emWin library for Graphic interface. Currently I have designed a screen with an image, 8 Icons and few numbers on the screen. I have a processor with 256KBytes of memory. When I compile the code, I see that my code occupies 90% of the program memory. I have checked the resource usage and the icons with screen should not be taking up so much memory. I commented the screen with just GUI_Init() and GUI_Delay() in the code and it occupies 16% of the memory.
1. Can someone explain what could be taking up so much memory space and how it can be reduced?
2. Will I need an external flash while using emWin to design more than two screens?
3. Is there a way to make use of just the code that's being used/ have I setup something wrong on emWin that could be causing this?
Appreciate all the help!
Best regards,
BMD