Hi all,
I'm writing a program and until now the RO-data size wa around 2000 bytes.. Now, after some changes in the code, I saw the RO-data size is 33758 bytes... in the MAP file the compiler uses around 30000 bytes in the PAD area.. what's this?...
Thanks
Exactly - the linker has basically just told you that it has skipped a lot of RAM to reach a new memory region to place variables in. So it doesn't represent wasted RAM space.
And it has given you a tip that some projects could potentially gain by strategic changes to variable placements to squeeze other things into this available hole.
Thanks for the explanation Westermark.
Why always answer all the questions? You work in Keil?