Decreasing BSS size for STM32F4

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Oct 14 10:10:39 UTC 2014


On 14/10/14 12:07, Мороз Олег wrote:
> Hello everyone. I'm trying to start RTEMS on STM32F407. It has only 192KB of
> Ram. After compile a test program i' executing arm-rtems4.11-size
>
> arm-rtems4.11-size shell.exe
>     text       data        bss        dec        hex    filename
>   162292       1576     195016     358884      579e4    shell.exe
>
> As you can see BSS segment is 195016 bytes long. How can i minimize it to 1 KB
> or to 5 KB?

This is not the BSS section alone.  A arm-rtems4.11-readelf -l gives you more 
information.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list