used memory confusion

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
genap
Experienced Member
Posts: 99
Joined: Sat Aug 31, 2013 11:23 pm

used memory confusion

Post by genap »

I am using XS1-U8A in my project.
When I compile the project, the console shows:

Memory available: 65536, used: 54064

But when I create an upgrade binary, the file size is 40192.
Do I miss something ?


User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am
Contact:

Post by segher »

Uninitialised / zero-initialised data ("bss") is
not stored in the program image. You probably
have a few big buffers.
genap
Experienced Member
Posts: 99
Joined: Sat Aug 31, 2013 11:23 pm

Post by genap »

thanks a lot.
forgot about sharing data / code space..
Post Reply