|
|||||||||||
Technical Support Support Resources
Product Information |
BL51: How Much Code and Data Are Used?Information in this article applies to:
QUESTIONIs there a way I can determine the total size of my CODE and XDATA space? ANSWERYes. This feature has always been available in the LX51 Linker and was added in Version 4.22 of the BL51 Linker. The program size information is provided at the bottom of the MAP file. For example:
These values are in bytes. The decimal in the data size (106.1) is due to the bit variables. In this case, there is a bit variable the size .1 bytes, or 1 bit. If you look in the map file, you may see something like this:
In Version 4.21 and earlier of the BL51 Linker, you may manually determine the CODE and XDATA space required using the information in the Link Map. For example:
The total XDATA space required is 53EDh + 8h = 53F5h or 21493 decimal. MORE INFORMATION
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.