patchlwIP - A Lightweight TCP/IP stack - Patches: patch #7452, Allow LWIP data structures to be...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7452: Allow LWIP data structures to be stored in external memory

Submitter:  Brad Plant <bplant>
Submitted:  Thu 27 Jan 2011 04:47:08 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Works For Me Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Fri 28 Jan 2011 07:21:43 AM UTC, comment #2: 

Sorry, I've been using 1.3.{0,2} so I hadn't seen the MEMP_SEPARATE_POOLS option. MEMP_SEPARATE_POOLS does sound like a better are more flexible solution though!

Brad Plant <bplant>
Thu 27 Jan 2011 09:41:46 PM UTC, comment #1: 

That is already covered by MEMP_SEPARATE_POOLS and defining pools as extern in cc.h. This way, you can even put every pool in a different section instead of moving all pools at once.

Simon Goldschmidt <goldsimon>
Group administrator
Thu 27 Jan 2011 04:47:08 PM UTC, original submission:  

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>")))

Brad Plant <bplant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by bplant (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-27 goldsimon StatusNone Works For Me
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2011-01-27 bplant Attached File- Added lwip.patch, #22536

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code