[bug #59385] Add lwipopts to specify default section for memory pools

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[bug #59385] Add lwipopts to specify default section for memory pools

yuanjianmin
URL:
  <https://savannah.nongnu.org/bugs/?59385>

                 Summary: Add lwipopts to specify default section for memory
pools
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: khockuba
            Submitted on: Fri 30 Oct 2020 04:51:37 PM UTC
                Category: pbufs
                Severity: 3 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

Hi,
I'm currently working with STM32F4 MCU however this relates to many different
microcontrollers that embed different types of RAM. Usually, those different
types of RAM occupy different addresses and thus default LWIP memory pools are
placed by default in bss section.

There is a "hacky" way to define a different section for a specific memory
pool by defining it in cc.h as an extern symbol. I find it very cumbersome and
inelegant way. Having a define option like LWIP_MEMPOOL_DEFAULT_SECTION would
be very useful here and at the same time would avoid any mistakes related to
placing memory pool in a different section.

Chris




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?59385>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel