rtstofer wrote: >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). > >After reading the promo stuff about uIP, I thought the stack would >be on the small side. When I got the web server running (without >FreeRTOS), it takes 60444 bytes including the .rodata. HUGE! > > No, you're probably right on target. Functions like printf(), in any form, usually pull in a lot of other code. It may be lazy programming on the part of the writer of the uIP stack, or, that that level of complexity is needed and that the target processor you've chosen is not capable of supporting the code. "Champagne tastes on a beer budget"? You might consider doing what I did. I needed a lot of codespace to write a DOS layer for MMC, plus another goal was to put 11 programs into one processor (old product was 64K EPROM on 8051). The problem was that I needed 16K just to hold data, I have to track external events and give instant status reports when queried. The solution was to use an LPC2138 to hold the very large code store, then use an LCP2106 to store the data in RAM. Regards, TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] Re: Looking to buy compiler
2005-11-07 by Tom Walsh
Attachments
- No local attachments were found for this message.