Footprint
7
Footprint
The purpose of the following sections is to provide the memory requirements for all the
demonstration modules, including JPEG decoder and STemWin main GUI components. The
aim is to have an estimation of memory requirement in case of suppression or addition of a
module or a feature.
The footprint data is provided for the following environment:
•
Toolchain: IAR 7.80
•
Optimization: high size
•
Board: STM32H743I-EVAL.
Table 6
shows the code memory, data memory and constant memory used for each module.
Module
Audio
Video
Graphic effect
Clock & weather
Rocket games
System info
1. All the resources used in the demonstration are stored in the Quad-SPI Flash memory.
7.1
STemWin features resources
7.1.1
JPEG decoder
The JPEG decompression uses approximately 33 Kbytes of RAM for decompression
independently of the image size and an amount of bytes depends on the image size. The
RAM requirement can be calculated as follows:
Approximate RAM requirement = X-Size of image * 80 bytes + 33 Kbytes.
36/76
Table 6. Modules footprint
Code memory
(bytes)
Table 7. RAM requirements for some JPEG resolutions
Resolution
160x120
320x340
480x272
640x480
Data memory
5688
5424
2260
6032
2052
1152
RAM usage (Kbytes)
45.5
58.0
70.5
83.0
UM2222 Rev 2
(1)
Constant memory
(bytes)
26876
100228
112
844
484
0
RAM usage, size dependent
(Kbytes)
12.5
25.0
37.5
50.0
UM2222
(bytes)
1318945
231664
10041307
3061328
1715108
120164
Need help?
Do you have a question about the STM32CubeH7 and is the answer not in the manual?