buglwIP - A Lightweight TCP/IP stack - Bugs: bug #59385, Add lwipopts to specify default...

 
 

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

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

Submitted by:  Chris <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 Planned Release:  None
lwIP version:  git head

Fri 30 Oct 2020 04:51:37 PM UTC, original submission:  

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

Chris <khockuba>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by khockuba (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.7