<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDE FAQsのトピックApplication Flash / RAM size</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Application-Flash-RAM-size/m-p/467808#M11</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Size information produced by build&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As part of the build process, information on the size of your application will normally be displayed at the end of the &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389147" data-objecttype="1" href="https://community.nxp.com/thread/389147"&gt;build log&lt;/A&gt; in the Console view. This is done by a &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389116" data-objecttype="1" href="https://community.nxp.com/thread/389116"&gt;post-build step&lt;/A&gt; invoking the &lt;TT&gt;arm-none-eabi-size &lt;/TT&gt;utility....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;SPAN style="font-size: 12pt; font-family: courier new,courier;"&gt;&lt;TT&gt;&amp;nbsp; text&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&amp;nbsp;&amp;nbsp; filename&lt;BR /&gt;&amp;nbsp; 2624&amp;nbsp;&amp;nbsp;&amp;nbsp; 524&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&amp;nbsp;&amp;nbsp;&amp;nbsp; 3180&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c6c&amp;nbsp;&amp;nbsp; LPCXpresso1768_systick_twinkle.axf&lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;"&gt;[All numbers are in bytes.]&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;text&lt;/TT&gt;&lt;/STRONG&gt; - shows the code and read-only data in your application (in decimal)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;data&lt;/TT&gt;&lt;/STRONG&gt; - shows the read-write data in your application (in decimal)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;bss&lt;/TT&gt;&lt;/STRONG&gt; - show the zero initialized ('&lt;TT&gt;bss&lt;/TT&gt;' and '&lt;TT&gt;common&lt;/TT&gt;') data in your application (in decimal)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;dec&lt;/TT&gt;&lt;/STRONG&gt; - total of '&lt;TT&gt;text&lt;/TT&gt;' + '&lt;TT&gt;data&lt;/TT&gt;' + '&lt;TT&gt;bss&lt;/TT&gt;' (in decimal)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;hex&lt;/TT&gt;&lt;/STRONG&gt; - hexadecimal equivalent of '&lt;TT&gt;dec&lt;/TT&gt;'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;the flash consumption of your application will then be &lt;TT&gt;text&lt;/TT&gt; + &lt;TT&gt;data&lt;/TT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;the RAM consumption of your application will then be &lt;TT&gt;data&lt;/TT&gt; + &lt;TT&gt;bss&lt;/TT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember that the RAM consumption provided by this is only that of your global data. It will not include any memory consumed by your stack and heap when your application is actually executing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also manually run the &lt;TT&gt;arm-none-eabi-size&lt;/TT&gt; utility on both your final application image, or on individual object files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To view the size of the image, right click over the &lt;TT&gt;.axf&lt;/TT&gt; file in the Debug or Release subdirectory of your application project and select the &lt;STRONG&gt;&lt;TT&gt;Binary Utilities -&amp;gt; Size&lt;/TT&gt;&lt;/STRONG&gt; option. To view the size of an individual object file, select the appropriate &lt;TT&gt;.o&lt;/TT&gt; file in the &lt;TT&gt;Debug\src&lt;/TT&gt; or &lt;TT&gt;Release\src&lt;/TT&gt; subdirectory of the project and again select the &lt;STRONG&gt;&lt;TT&gt;Binary Utilities -&amp;gt; Size&lt;/TT&gt;&lt;/STRONG&gt; option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Looking at the size of the AXF file on disk does not provide any information as to how much Flash/RAM space your application will occupy when downloaded to your MCU. The AXF file contains a lot more information than just the binary code of your application, for example the debug data used to provide source level information when debugging, that is never downloaded to your MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;HR style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;" /&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Linker Memory Usage Option&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any project created with LPCXpresso IDE v8.1 or later will add the option -print-memory-usage to the link step. This will generate memory usage information of the following form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial,sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee none repeat scroll 0% 0%;"&gt;&lt;SPAN style="font-size: 12pt; font-family: courier new,courier;"&gt;&lt;TT&gt;Memory region&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Region Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %age Used&amp;nbsp;&amp;nbsp; &lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial,sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee none repeat scroll 0% 0%;"&gt;&lt;SPAN style="font-size: 12pt; font-family: courier new,courier;"&gt;&lt;TT&gt;MFlash256:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11160 B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 256 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.26%&lt;BR /&gt;Ram0_16:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 340 B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.08%&lt;BR /&gt;Ram1_16:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 GB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00%&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Ram2_4:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 GB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00% &lt;BR /&gt;Finished building target: lpc1549_hello.axf &lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;HR style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;" /&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;&lt;/H2&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Linker map files&lt;/H2&gt;&lt;P style="min- padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;The linker option "-&lt;STRONG&gt;&lt;TT&gt;map&lt;/TT&gt;&lt;/STRONG&gt;" option, which is enabled by default by the project wizard when a new project is created, allows you to analyse in more detail the contents of your application image. When you do a build, this will cause a file called &lt;TT&gt;&amp;lt;&lt;EM&gt;application&lt;/EM&gt;&amp;gt;.map&lt;/TT&gt; to be created in the Debug (or Release) subdirectory, which can be loaded into the editor view. This contains a large amount of information, including:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A list of archive members (library objects) included and why&lt;/LI&gt;&lt;LI&gt;A list of discarded input sections (because they are unused and the &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389145" data-objecttype="1" href="https://community.nxp.com/thread/389145"&gt;linker option --gc-sections&lt;/A&gt; is enabled).&lt;/LI&gt;&lt;LI&gt;The location, size and type of all code, data and bss items that have been placed in the image.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;HR style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;" /&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Other utilities&lt;/H2&gt;&lt;P&gt;The &lt;TT&gt;arm-none-eabi-nm&lt;/TT&gt; utility can sometime be useful when looking at the size of your application, as it can produce some of the information provided in the linker map file but in a more concise form. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;&lt;TT&gt;arm-none-eabi-nm -S --size-sort -s project.axf&lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;produces a list of all the symbols in an image, their sizes and their addresses, listed in size order. For more information on this utility, please see the GNU binutils documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; that you can run &lt;TT&gt;arm-none-eabi-nm&lt;/TT&gt; as a &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389116" data-objecttype="1" href="https://community.nxp.com/thread/389116"&gt;post-build step&lt;/A&gt;, or else open a command shell using the status bar shortcuts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 15:48:40 GMT</pubDate>
    <dc:creator>lpcware-support</dc:creator>
    <dc:date>2016-03-31T15:48:40Z</dc:date>
    <item>
      <title>Application Flash / RAM size</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Application-Flash-RAM-size/m-p/467808#M11</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Size information produced by build&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As part of the build process, information on the size of your application will normally be displayed at the end of the &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389147" data-objecttype="1" href="https://community.nxp.com/thread/389147"&gt;build log&lt;/A&gt; in the Console view. This is done by a &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389116" data-objecttype="1" href="https://community.nxp.com/thread/389116"&gt;post-build step&lt;/A&gt; invoking the &lt;TT&gt;arm-none-eabi-size &lt;/TT&gt;utility....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;SPAN style="font-size: 12pt; font-family: courier new,courier;"&gt;&lt;TT&gt;&amp;nbsp; text&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hex&amp;nbsp;&amp;nbsp; filename&lt;BR /&gt;&amp;nbsp; 2624&amp;nbsp;&amp;nbsp;&amp;nbsp; 524&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&amp;nbsp;&amp;nbsp;&amp;nbsp; 3180&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c6c&amp;nbsp;&amp;nbsp; LPCXpresso1768_systick_twinkle.axf&lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;"&gt;[All numbers are in bytes.]&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;text&lt;/TT&gt;&lt;/STRONG&gt; - shows the code and read-only data in your application (in decimal)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;data&lt;/TT&gt;&lt;/STRONG&gt; - shows the read-write data in your application (in decimal)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;bss&lt;/TT&gt;&lt;/STRONG&gt; - show the zero initialized ('&lt;TT&gt;bss&lt;/TT&gt;' and '&lt;TT&gt;common&lt;/TT&gt;') data in your application (in decimal)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;dec&lt;/TT&gt;&lt;/STRONG&gt; - total of '&lt;TT&gt;text&lt;/TT&gt;' + '&lt;TT&gt;data&lt;/TT&gt;' + '&lt;TT&gt;bss&lt;/TT&gt;' (in decimal)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;hex&lt;/TT&gt;&lt;/STRONG&gt; - hexadecimal equivalent of '&lt;TT&gt;dec&lt;/TT&gt;'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;the flash consumption of your application will then be &lt;TT&gt;text&lt;/TT&gt; + &lt;TT&gt;data&lt;/TT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;the RAM consumption of your application will then be &lt;TT&gt;data&lt;/TT&gt; + &lt;TT&gt;bss&lt;/TT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember that the RAM consumption provided by this is only that of your global data. It will not include any memory consumed by your stack and heap when your application is actually executing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also manually run the &lt;TT&gt;arm-none-eabi-size&lt;/TT&gt; utility on both your final application image, or on individual object files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To view the size of the image, right click over the &lt;TT&gt;.axf&lt;/TT&gt; file in the Debug or Release subdirectory of your application project and select the &lt;STRONG&gt;&lt;TT&gt;Binary Utilities -&amp;gt; Size&lt;/TT&gt;&lt;/STRONG&gt; option. To view the size of an individual object file, select the appropriate &lt;TT&gt;.o&lt;/TT&gt; file in the &lt;TT&gt;Debug\src&lt;/TT&gt; or &lt;TT&gt;Release\src&lt;/TT&gt; subdirectory of the project and again select the &lt;STRONG&gt;&lt;TT&gt;Binary Utilities -&amp;gt; Size&lt;/TT&gt;&lt;/STRONG&gt; option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Looking at the size of the AXF file on disk does not provide any information as to how much Flash/RAM space your application will occupy when downloaded to your MCU. The AXF file contains a lot more information than just the binary code of your application, for example the debug data used to provide source level information when debugging, that is never downloaded to your MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;HR style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;" /&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Linker Memory Usage Option&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any project created with LPCXpresso IDE v8.1 or later will add the option -print-memory-usage to the link step. This will generate memory usage information of the following form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial,sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee none repeat scroll 0% 0%;"&gt;&lt;SPAN style="font-size: 12pt; font-family: courier new,courier;"&gt;&lt;TT&gt;Memory region&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Region Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %age Used&amp;nbsp;&amp;nbsp; &lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial,sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee none repeat scroll 0% 0%;"&gt;&lt;SPAN style="font-size: 12pt; font-family: courier new,courier;"&gt;&lt;TT&gt;MFlash256:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11160 B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 256 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.26%&lt;BR /&gt;Ram0_16:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 340 B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.08%&lt;BR /&gt;Ram1_16:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 GB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00%&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Ram2_4:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 GB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00% &lt;BR /&gt;Finished building target: lpc1549_hello.axf &lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;HR style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;" /&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;&lt;/H2&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Linker map files&lt;/H2&gt;&lt;P style="min- padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;The linker option "-&lt;STRONG&gt;&lt;TT&gt;map&lt;/TT&gt;&lt;/STRONG&gt;" option, which is enabled by default by the project wizard when a new project is created, allows you to analyse in more detail the contents of your application image. When you do a build, this will cause a file called &lt;TT&gt;&amp;lt;&lt;EM&gt;application&lt;/EM&gt;&amp;gt;.map&lt;/TT&gt; to be created in the Debug (or Release) subdirectory, which can be loaded into the editor view. This contains a large amount of information, including:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A list of archive members (library objects) included and why&lt;/LI&gt;&lt;LI&gt;A list of discarded input sections (because they are unused and the &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389145" data-objecttype="1" href="https://community.nxp.com/thread/389145"&gt;linker option --gc-sections&lt;/A&gt; is enabled).&lt;/LI&gt;&lt;LI&gt;The location, size and type of all code, data and bss items that have been placed in the image.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;HR style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;" /&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Other utilities&lt;/H2&gt;&lt;P&gt;The &lt;TT&gt;arm-none-eabi-nm&lt;/TT&gt; utility can sometime be useful when looking at the size of your application, as it can produce some of the information provided in the linker map file but in a more concise form. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;&lt;TT&gt;arm-none-eabi-nm -S --size-sort -s project.axf&lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;produces a list of all the symbols in an image, their sizes and their addresses, listed in size order. For more information on this utility, please see the GNU binutils documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; that you can run &lt;TT&gt;arm-none-eabi-nm&lt;/TT&gt; as a &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389116" data-objecttype="1" href="https://community.nxp.com/thread/389116"&gt;post-build step&lt;/A&gt;, or else open a command shell using the status bar shortcuts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 15:48:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Application-Flash-RAM-size/m-p/467808#M11</guid>
      <dc:creator>lpcware-support</dc:creator>
      <dc:date>2016-03-31T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Application Flash / RAM size</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Application-Flash-RAM-size/m-p/1240278#M167</link>
      <description>&lt;P&gt;My understanding is that bss contains the RAM initialisation for values and other constants. So this would mean that the flash size is text + bss and the ram is data, possibly plus bss.&lt;/P&gt;&lt;P&gt;Is there an error in the original infomation given, or am I missing something?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 12:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Application-Flash-RAM-size/m-p/1240278#M167</guid>
      <dc:creator>ianholmes</dc:creator>
      <dc:date>2021-03-04T12:54:06Z</dc:date>
    </item>
  </channel>
</rss>

