Reduce size of RTEMS in the text area
Till Straumann
strauman at slac.stanford.edu
Mon May 14 16:32:01 UTC 2007
Joel Sherrill wrote:
> 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
>
Be aware that defining NDEBUG removes all 'assert(...)' statements.
Therefore, you must be sure that no 'assert' statements with side-effects
are in your code.
-- T.
> + 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
>>
>>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
More information about the users
mailing list