Size and usage of bss

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
I have two similar applications. One of them builds fine and is downloaded to my evaluation board. The other gives me the following errors:

section `.bss will not fit in region `SRAM

region `SRAM overflowed by 419076 bytes

How can I find out what is contributing to this apparently huge difference in .bss usage.

I have tried the usual ELF tools but they dont help, and size shows 0 bss so I assume it is being handled in some non-standard way.
0 Likes
1 Reply
GregG_16
Employee
Employee
50 sign-ins 25 sign-ins 25 comments on KBA

You could look at the <target-name>_map.csv file. This is the XLS file.

This file is located in /build/<target-name>/Binary/ directory.

<target-name> is the target which you are building, for example, snip.scan-BDM943362WCD4

Let me know if this helps.

0 Likes