lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #6594] memp.c with standard C-library


From: Gottfried Spitaler
Subject: [lwip-devel] [patch #6594] memp.c with standard C-library
Date: Thu, 31 Jul 2008 12:14:21 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

Follow-up Comment #2, patch #6594 (project lwip):

I've made my own malloc and free coded from scratch with a fast implementatin
optimized for RISC AVR to have more control of the heap (code size 1463
bytes).
The AVR have a limited size of the Flash memory for the application.
So if the application reaches the maximum size of the memory we can save some
space.

memp uses ~226 bytes of code memory with full optimization at the AVR but we
have to know each size of the buffers we need (MEMP_NUM_TCP_PCP,
MEMP_NUM_UDP_PCB ...).
So we have the chance to select if we want the faster memp implementation,
save some space, or if we want a easier implementation without knowing each
number of buffers we need.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6594>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]