lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #7452] Allow LWIP data structures to be stored in ex


From: Brad Plant
Subject: [lwip-devel] [patch #7452] Allow LWIP data structures to be stored in external memory
Date: Thu, 27 Jan 2011 16:47:13 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

URL:
  <http://savannah.nongnu.org/patch/?7452>

                 Summary: Allow LWIP data structures to be stored in external
memory
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: bplant
            Submitted on: Thu Jan 27 16:47:08 2011
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

The following patch allows the LWIP data structures (contents of memp_memory)
to be stored in external memory by #defining LWIP_EXT_RAM_PREFIX and/or
LWIP_EXT_RAM_SUFFIX.

For example, when using the IAR compiler, the following would result in the
memory being allocated in external memory:

#define LWIP_EXT_RAM_SUFFIX '@ "<section name>"'

where <section name> is the name on the section for external memory created
in the linker script. The same can be done for gcc:

#define LWIP_EXT_RAM_SUFFIX __attribute__ ((section ("<section name>")))



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu Jan 27 16:47:08 2011  Name: lwip.patch  Size: 889B   By: bplant

<http://savannah.nongnu.org/patch/download.php?file_id=22536>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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