ARM memory map is consists of:
- .Code
- .RO
- .RW
- .ZI
.RO = Constant Data
.RW = Local Variable
.ZI = Global Variable (Include Static Variable)
Add any code that may possibly increase RAM or ROM size.
ROM size = .Code + .RO + .RW
RAM size = .RW + .ZI
The actual ARM outputted binary size is ROM size
<NOTE>
What makes .RW so special is because .RW data stays in the ROM but during initializing, it will be copied to RAM
What makes .RW so special is because .RW data stays in the ROM but during initializing, it will be copied to RAM
沒有留言:
張貼留言