[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reduce size of RTEMS in the text area



Julien Houles wrote:
> Hello,
>  
> I'm using RTEMS on a leon2 processor and the memory available is very 
> small.
> I would like to know the exact process to reduce the RTEMS size 
> (151,600 bytes for a small application whereas the minimum size of 
> RTEMS given in the SPARC application supplement is 28,288 bytes).
> I just need core, Initialisation, task, semaphore, message, partition, 
> fatal error managers. (where do I configurate RTEMS to take only the 
> managers I need ?)
What RTEMS version are you using?

  + Change compile options from -O2 to -Os -DNDEBUG
  + disable itron and posix

That will have some impact.  But you can't take out features you
are using.

4.7.1 included some size reducing refactoring and reduced minimum on
the erc32 by about 30% over 4.7.0. 

The CVS head can shrink it below that but the CVS head is always a moving
target. :)
>  
> Thanks in advance.
>  
> Julien.
>
> ------------------------------------------------------------------------
> D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos 
> questions ! Profitez des connaissances, des opinions et des 
> exp?riences des internautes sur Yahoo! Questions/R?ponses 
> <http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>.
> ------------------------------------------------------------------------
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>