<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Oct 20, 2017 7:58 AM, "Hui Yie Teh" <<a href="mailto:hteh703@aucklanduni.ac.nz">hteh703@aucklanduni.ac.nz</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><br>How do I get the footprint (RAM and ROM size) of an RTEMS application?<br><br>From what I am seeing, the hello.exe from the testsuite is around 3.9MB. <br></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">That sounds like it came from ls. That's the file size with debug info. Use the command TARGET-rtems4.xx-size on the exe to get the code, data, and bss size.</div><div dir="auto"><br></div><div dir="auto">On top of that is the size of the C program heap and memory for RTEMS OS objects and stacks.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Is this the right footprint of an RTEMS application? Also is that the RAM size or the ROM size?<br></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Neither. Size on disk with extra information.</div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Cheers,<br>Yie</div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div></div></div>