<div dir="ltr">I got it, thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-27 18:20 GMT+03:00 Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If I remember right, the 'size' program lumps together everything<br>
beyond .data, so you are seeing the inclusion of other sections such<br>
as what contains the program heap and RTEMS workspace. By design, the<br>
workspace/heap consume all of the remainder of the RAM memory map<br>
after placing the text/data/bss (and any other specified sections). So<br>
you can expect the size to be about the same as what the size of the<br>
RAM is for the BSP. So in this case the RAM is probably like 128K.<br>
<br>
On Tue, Sep 27, 2016 at 10:58 AM, Ярослав Лещинский<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:midniwalker@gmail.com">midniwalker@gmail.com</a>> wrote:<br>
> I'm using 4.11, examples v2-4-10-2.<br>
> I checked posix_hello.ralf bss_size is 7700<br>
><br>
> 200017a0 B bsp_section_bss_begin<br>
> 200035b4 B bsp_section_bss_end<br>
> 00001e14 A bsp_section_bss_size<br>
><br>
> but in summary of example compilation i see:<br>
> arm-rtems4.11-size o-optimize/posix_hello.exe<br>
> │   text       data     bss         dec         hex          filename<br>
> │  53912    1572  129512  184996   2d2a4        o-optimize/posix_hello.exe<br>
><br>
><br>
> 2016-09-27 17:41 GMT+03:00 Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>>:<br>
>><br>
>> That's quite large. What version of rtems are you using?<br>
>><br>
>> You can see what is taking up space by looking in the output from nm<br>
>> between bsp_section_bss_begin and bsp_section_bss_end.<br>
>><br>
>> On Tue, Sep 27, 2016 at 5:35 AM, Ярослав Лещинский<br>
>> <<a href="mailto:midniwalker@gmail.com">midniwalker@gmail.com</a>> wrote:<br>
>> > Hello.<br>
>> > I build hello world example and saw that .bss section is 129320 for<br>
>> > stm32f4<br>
>> > board. How can i decrease that size?<br>
>> > Thanks.<br>
>> > --<br>
>> ><br>
>> > С уважением, Лещинский Ярослав.<br>
>> ><br>
>> > +79814031224<br>
>> ><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>
><br>
><br>
><br>
><br>
> --<br>
><br>
> С уважением, Лещинский Ярослав.<br>
><br>
> +79814031224<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span><div><p>С уважением, Лещинский Ярослав.</p></div>+79814031224</span></div></div>
</div>