This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

what is PAD memory area?

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

Parents
  • 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.

Reply
  • 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.

Children