Hi! How much of the STM32’s resources (specifically RAM and Flash) are used by the default example code as shipped from the factory? Thanks!
Hi,
please refer to below. (unit : byte)
-
WIZ550WEB (rev1.1)
- Flash : 256KB
- SRAM : 48KB
-
default bootloader (Allocated 28KB Flash)
- debug build
- text (flash) : 25623
- data (ram) : 196
- bss (ram) : 4672
- total (dec) : 30491
- release build
- text (flash) : 19171
- data (ram) : 188
- bss (ram) : 4660
- total (dec) : 24019
- debug build
-
default application (Allocated 222KB Flash + 6KB for Config data)
- text (flash) : 86279
- data (ram) : 528
- bss (ram) : 17304
- total (dec) : 104111
-
boot + app
- flash usage : (bootloader) 28672 + (app) 104111
- ram usage : (app) 17,832
And app’s stack size is 2048.
Thank you, Kei.
1 Like