Graphics Component
Version 6.32.3
MDK 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 Graphics component does not allocate CMSIS-RTOS resources by itself. However, the user code templates GUI_SingleThread.c and GUI_MultiThread.c define threads that require additional stack (refer to Execution Models).
The Graphics component allocates all necessary resources for threads statically so no changes to RTX settings regarding threads are necessary.
Requirements are configured in the file located under the CMSIS component class:
Option | Value |
---|---|
Number of concurrent running user threads | + 1 |
Number of threads with user-provided stack size | + 1 |
Total stack size [bytes] for threads with user-provided stack size | + 2048 |
Option | Value |
---|---|
Number of concurrent running user threads | + 3 |
Number of threads with user-provided stack size | + 3 |
Total stack size [bytes] for threads with user-provided stack size | + 3248 |
Option | Value |
---|---|
User Timers | Enable |
Timers
The Graphics component requires timers which need to be enabled in RTOS.
It will generate up to three user times, depending on the components that are used in the project:
Timers are configured in the file located under the CMSIS component class:
Option | Value |
---|---|
Number of Timer objects | + 1 .. 3 (according to above explanation) |
Timer Thread stack size [bytes] | + 1024 (if touch-screen is used) |
Timers are configured in the file located under the CMSIS component class:
Option | Value |
---|---|
User Timers | Enable |
Timer Thread stack size [bytes] | + 1024 (if touch-screen is used) |
The various parts of the Graphics component have dedicated memory requirements. Please refer to the User and Reference Guide - 35. Performance and Resource Usage.