Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: Looking to buy compiler

2005-11-07 by FreeRTOS Info

> As far as I know, I am using newlib.  However, the uIP web server
> application uses vsprintf and that pulls in a LOT of library code.
> The entire network project seems to take about 23k (0000h - 5887h)
> and the library adds nearly another 32K (5888h - D244h).

More than I would expect.

I originally got the FreeRTOS lwIP demo running using CrossWorks.  When I
came to compile the same code using the standard command line GCC (with
newLib) I found it to be *much* more stack hungry and had to increase the
stack allocated to the WEB server and lwIP tasks.

While increased stack usage was not a surprise as the CrossWorks build used
the libraries without floating point support (for printf, etc.) the size of
the difference was surprising.  I have not yet analysed the map files to see
where the difference is occurring.

Regards,
Richard.


http://www.FreeRTOS.org

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.