![]() |
Graphics Component
Version 5.24
MDK-Professional Middleware for Graphical User Interfaces
|
This section describes the resource requirements of the Graphics component. The actual requirements depend on the features used in the application. Therefore, the numbers provided here are guidelines only and the actual numbers may differ.
The following table shows the memory requirements for read-only (Flash) and read-write (RAM) memory. These numbers may be used to estimate the total size requirements of the application, but the actual numbers depend on compiler optimizations and target processor and may be therefore slightly different.
Component | RO Memory [Bytes] | RW Memory (Data) [Bytes] | Description |
---|---|---|---|
Window Manager | 6.2 k | 2.5 k | Additional memory requirements of the Window Manager. |
Memory Devices | 4.7 k | 7 k | Additional memory requirements of when using Memory Devices. |
Anti-aliasing | 4.5 k | 2 * LCD_XSIZE | Additional memory requirements for the anti-aliasing software item. |
Driver | 2 .. 8 k | 20 | The memory requirements of the driver depend on the configured driver. |
Multilayer | 2 .. 8k | - | Additional memory for each additional layer is required, because each layer requires its own driver. |
Core | 5.2 k | 80 | Memory requirements of a typical application without using additional software items. |
Core/JPEG | 12 k | 38 k | Basic routines for drawing JPEG files. |
Core/GIF | 3.3 k | 17 k | Basic routines for drawing GIF files. |
Core/Sprites | 4.7 k | 16 | Routines for drawing sprites and cursors. |
Core/Fonts | (see Reference Manual) | - | Details of the ROM requirements of the standard fonts shipped with emWin can be found in the chapter Fonts on page 193 Reference Manual. |
Widgets | 4.5 k | - | This is the approximately basic ROM requirement for the widgets depending on the individual core functions used by the widgets. |
Widget/BUTTON | 1 k | 40 | |
Widget/CHECKBOX | 1 k | 52 | |
Widget/DROPDOWN | 1.8 k | 52 | |
Widget/EDIT | 2.2 k | 28 | |
Widget/FRAMEWIN | 2.2 k | 12 | |
Widget/GRAPH | 2.9 k | 48 | |
Widget/GRAPH_DATA_XY | 0.7 k | - | |
Widget/GRAPH_DATA_YT | 0.6 k | - | |
Widget/HEADER | 2.8 k | 32 | |
Widget/LISTBOX | 3.7 k | 56 | |
Widget/LISTVIEW | 3.6 k | 44 | |
Widget/MENU | 5.7 k | 52 | |
Widget/MULTIEDIT | 7.1 k | 16 | |
Widget/MULTIPAGE | 3.9 k | 32 | |
Widget/PROGBAR | 1.3 k | 20 | |
Widget/RADIOBUTTON | 1.4 k | 32 | |
Widget/SCROLLBAR | 2 k | 14 | |
Widget/SLIDER | 1.3 k | 16 | |
Widget/TEXT | 0.4 k | 16 |
The Graphics component does not allocate CMSIS-RTOS resources by itself. In the recommended mode of operation (single-threaded mode), a single thread will be created by the user. The stack requirements of this thread are derived from the table above (sum of RW memory requirements for used components). Note that some components might be using static memory only or the GUI buffer and can be excluded from this calculation. Details for each component are provided in the Reference Manual.
System Configuration
A User Timer is required for touch-screen drivers (1024 Bytes of additional stack for User Timer Thread).